Four Stars

Connect to mongodb Atlas

Hi Readers,


I'm able to connect to mongodb server version 3.6 on my local machine,


but I'm not able to connect to the mongodb 3.6 version installed on the Atlas cluster, I have provided IP Whitelist details to the cluster and authenticated user has "SCRAM" method assigned to it.


Could anyone help me in fixing the below issue while I'm running my jobMongo Connection.JPG


Mongo Error.JPG


Mongodb Atlas cluster.JPG


Nine Stars

Re: Connect to mongodb Atlas

Are you able to telnet to the remote port?
Did you authenticate locally with same config/setup?
Able to connect with a client ?
Four Stars jo
Four Stars

Re: Connect to mongodb Atlas

check "Use SSL connection..." and "Set Authentication Database" boxes. Authentication database name is "admin" by default.