Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Cannot connect to a mongos

$
0
0

I am implementing a sharded cluster in a Windows environment.

I first create the config server as follows:

C:\MongoDB\bin>mongod –configsvr –bind_ip 192.168.1.4 –port 3000 –dbpath C:\Sharding\configServer

Then I try to connect to the mongos instance which is listening on port 3000:

enter image description here

The command I use to connect to the mongos instance is as follows:

C:\MongoDB\bin>mongos –configdb 192.168.1.4:3000

My problem is that I cannot connect with the mongos instance as I get the below error. I cannot figure out what is this problem and how to solve it. I searched on the Internet however all suggestions that I found did not solve my problem and I'm literally stuck.

enter image description here


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>