IP address failure

Attempting to connect to my first cluster. I get the message:
*** It looks like this is a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.
Error: can’t connect to new replica set master [cluster0-shard-00-01.9jeb7.mongodb.net:27017], err: AuthenticationFailed: bad auth Authentication failed. :
connect@src/mongo/shell/mongo.js:362:17
@(connect):2:6
exception: connect failed
exiting with code 1

I did IPCONFIG and verified my IP Address is in the whitelist

Please check username and password

as mentionned by Kanika, your problem is most likely user name or password related.

however i want to mentioned that the following is not correct

the cluster does not see the connection as coming from your local pc. it is the ip of your internet gateway. most likely the router of your internet provider or of your vpn provider.

1 Like