Hi there,
I can connect to my MongoDB Sandbox within Compass, but not within the MongoDB Shell.
When I try the shell, I get
2018-10-17T10:45:04.489-0300 I NETWORK [js] Cannot reach any nodes for set Cluster0-shard-0. Please check network connectivity and the status of the set. This has happened for 5 checks in a row.
I am using:
mongo “mongodb://cluster0-shard-00-00-xbbbx.mongodb.net:27017,cluster0-shard-00-01-xbbbx.mongodb.net:27017,cluster0-shard-00-02-xbbbx.mongodb.net:27017/test?replicaSet=Cluster0-shard-0” --ssl --authenticationDatabase admin --username m001-student --password m001-mongodb-basics
Any idea why I could connect with compass and not shell?