Not able to connect to database

Hi there I am not able to connect to the database using mongodb compass. my laptop even passes both the ping and the port test but i am not still able to access the database and I am using the stable version of mongo compass too. please help me with this issue

Mongo compass error
Screenshot 2020-03-24 at 10.37.30 PM

ping result
Screenshot 2020-03-24 at 10.38.00 PM

port result:
Screenshot 2020-03-24 at 10.44.34 PM

Try this:

mongodb://m001-student:m001-mongodb-basics@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?authSource=admin&replicaSet=Cluster0-shard-0&readPreference=primary&ssl=true

3 Likes

It Works, Thank you so much for the help!

Closing this thread as the issue has been resolved.