Can't connect to Atlas Cluster

I did the following, but getting the error.
What’s the wrong?

mongo “mongodb+srv://” --username m001-student

Are you using the exact uri you get from Atlas→Connect?

If you can include a screenshot it’d be nice. To cross out any problem there.

The next thing to try is to whitelist all IPs on the network or security tab in Atlas.

Same problem.

My connection string is
mongo “mongodb+srv://” --username m001-student


@Boris_Alekseev command goes on the terminal 0 tab, not locally in your laptop’s terminal.

Thanks for showing all details! That’s a lot solved in one shot, and better for both.


After pasting the command please remember to press Enter in your keyboard. Then Test the ressultss as you did before.

1 Like

It helped! Thanks a lot!

1 Like