Compass error while connection to atlas

When connection to comapss to atlas, following errors occurs-
What is the solution?

For testing, share the connection string that you’re using. I’d also suggest that you test this out in the mongo shell.


And :arrow_up: :question:

Just now i have tried in shell it is connected i have used-
mongo “mongodb+srv://” --username m220student
and then ask password
and i entered -m220password
and start working. so in cluster what should i write

But did you try this in the mongo shell?

yes i have tried and its connected

Please share screenshots of Compass that shows:

  1. The login screen and the connection string
  2. The error message

Thanks, It resolved. Actually I am using company VPN so after deactivating it , started working

1 Like