Could not connect to my atlas Cluster from Compass

I followed the exactly instructions in the class and i’m getting this error message:

“MongoDB not running on the provided host and port”

2019-03-04_18-48-30

I’ve tried to connect to the initial shared cluster and I had no problems. Also if I try to connect to my cluster troughout the shell, I also don’t have any problems.

I’ve solved it.
I have an error in the host name. I’ve copied it including the port. (:27017) and it should be without it.

2 Likes


I am not able to connect from compass to Atlas cluster
Help me out to connect with it

Hi Pavan_kalyan_50337,

Please make sure you have IP whitelisted in cloud and then check if your network is not blocking the request.

https://discourse.university.mongodb.com/t/compass-connection-solution/11874/4

Kanika