Chapter 2: The MongoDB Query Language + Atlas Connecting to Your Sandbox Cluster from Compass

I am receiving below error when trying to connect to sandbox cluster from atlas. Please advise

Hi Raghava_32827,

In the Hostname field please remove everything after :.

Your hostname should be: cluster0-shard-00-00-97unj.mongodb.net. The port goes in the next field.

Also, check for your replica set name and fill in the fields if it does not work even after correcting hostname.

For any more troubleshooting, please check my post here.

Keynotes: Always use updated version i.e 1.16.1 Stable version.

Kanika

1 Like

Thank you It worked I missed that :slightly_frowning_face:

1 Like