0

When I try to connect using the connection string copied from the MongoDB Atlas cluster, and paste it into Compass a warning message appears, and connect button is disabled.

Connection string is:
mongodb+srv://nelson:nelson@cluster1.f7a6f.mongodb.net/test

Warning: 
querySrv ENODATA _mongodb._tcp.cluster1.f7a6f.mongodb.net

If I remove the +srv from the connection string then the warning disappears but the connection still not being successful.

Connection error:
"getaddrinfo ENOTFOUND cluster1.f7a6f.mongodb.net"

Please guide me on what am I doing wrong? Thanks.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Numan
  • 29
  • 3

0 Answers0