As it can be seen from the screenshot that the MongoDB shell is connected to the localhost. I want to connect it with an external replica set like this(given below) for my study purpose. But could not do so. Please suggest a way out.
"mongodb://m121:[email protected]:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?repilicaset=cluster0-shard-0" --authenticationDatabase admin --ssl -u m121 -p aggregations --norc
What IP-addresses mongod is listening? (mongod.conf, net.bindIp or net.bindIpAll)
If you don't have either there, then the system is listening only localhost address.
config-file net-options