Connection to the Sandbox cluster failed- SOLVED

Hi,
When I run mongo “mongodb+srv://sandbox-e5ov7.mongodb.net/test” --username m001-student --password m001-mongodb-basics, I get this reply : DNSHostNotFound. What should I do?

Hi Vladana_23327,

I am able to connect successfully. Just remove the quotes from the connection string.

mongo mongodb+srv://sandbox-e5ov7.mongodb.net/test --username m001-student --password m001-mongodb-basics

Let me know if that works.

Kanika