Cannot connect to MongoDB Atlas using Compass

Hi,

I have subscribed to the free mongodb instance. Im using Mongodb Compass Version 1.20.5 on a Mac and not able to connect to my instance, if i use the below connection string:
mongodb+srv://admxxx:@cluster0-cqdef.mongodb.net/test

But if I use the below connection string, Im able to connect:
mongodb://admxxx:@cluster0-shard-00-00-cqdef.mongodb.net:27017,cluster0-shard-00-01-cqdef.mongodb.net:27017,cluster0-shard-00-02-cqdef.mongodb.net:27017/test?replicaSet=Cluster0-shard-0&ssl=true&authSource=admin

Thanks
Jag

Can you connect with the shell using the SRV string?

If not, the most likely cause is that your are using a DNS resolver that does not support DNS seedlist.

Can you post a screenshot?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.