Error : “Could not connect to any servers in your MongoDB Atlas cluster”

后端 未结 8 1752
长发绾君心
长发绾君心 2021-02-08 22:41

My node app gives me this message \"Could not connect to any servers in your MongoDB Atlas cluster. Make sure your current IP address is on your Atlas cluster\'s IP whitelist\"

8条回答
  •  执念已碎
    2021-02-08 23:40

    Try doing this:- MongoDB Atlas -> NetworkAccess -> Edit -> Allow Any

    This worked for me!

提交回复
热议问题