Cannot connect to any of the clusters

It says I cannot connect to any cluster

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/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics

Hey @Arpan_19959

I was able to connect fine with the string you have provided.

Please confirm that port 27017 is not blocked by clicking http://portquiz.net:27017.

Or try

telnet cluster0-shard-00-00-jxeqq.mongodb.net 27017
ping cluster0-shard-00-00-jxeqq.mongodb.net

Hi @Arpan_19959,

In addition to @natac13,

Please share the error message that you are getting so that we can understand the problem better.

Thanks,
Shubham Ranjan
Curriculum Support Engineer