Unable to connect to Atlas

MongoDb version: 4.2

Using the following command:
mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

Getting the following error:
2019-10-22T15:50:37.190-0400 E QUERY [js] Error: connect failed to replica set Cluster0-shard-0/cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017 :
2019-10-22T15:50:37.194-0400 F - [main] exception: connect failed
2019-10-22T15:50:37.194-0400 E - [main] exiting with code 1

May be just a temporary N/W issue
I am able to connect
On first attempt i got the same error but able to connect on second attempt

Hi @Paul_Brazdzionis_74568,

Are you able to connect now? Do check the network issue, maybe firewall issue.

If it is your work machine, try from another system.


Connected successfully by just executing command again.


1 Like