Can't connect to the cluster

Hi everyone,

I’m trying to connect to the cluster to solve Chapter 2. I type the following:

mongo "mongodb+srv://"

I get the following error:

*** You have failed to connect to a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.

Error: can't connect to a new replica set master [], err: AuthenticationFailed: bad auth: Authentication failed. :
exception: connect failed
exiting with code 1

What am I doing wrong? Can you help me?


Bad auth means wrong combination of user id & password
Is your password correct?

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