Reputation: 721
Trying to start mongo node with command
mongos --configdb 192.168.6.3:27019 --port 27018
In results having output:
Tue Mar 15 16:08:21.062 [mongosMain] warning: couldn't check dbhash on config server 192.168.6.3:27019 :: caused by :: 11002 socket exception [CONNECT_ERROR] server [192.168.6.3:27019] mongos connectionpool error: couldn't connect to server 192.168.6.3:27019
Tue Mar 15 16:08:21.064 [mongosMain] ERROR: error upgrading config database to v4 :: caused by :: could not load config version for upgrade :: caused by :: 11002 socket exception [CONNECT_ERROR] server [192.168.6.3:27019] mongos connectionpool error: couldn't connect to server 192.168.6.3:27019
Tue Mar 15 16:08:21.064 warning: couldn't check dbhash on config server 192.168.6.3:27019 :: caused by :: 11002 socket exception [CONNECT_ERROR] server [192.168.6.3:27019] mongos connectionpool error: couldn't connect to server 192.168.6.3:27019
Could you help me, what I'm doing wrong?
Upvotes: 0
Views: 451
Reputation: 858
I would summarize solution from the comments to close the question.
First, read the mongo server logs.
If you see DNS-related errors there then check if you use correct DNS names which your system can resolve. To exclude DNS errors try to run server using direct IP addresses in configurtaion.
If you still see network-related errors (such as could not connect to server) then check:
Upvotes: 1