Mongodb: failed to connect to server on first connect

The Solution to Mongodb: failed to connect to server on first connect is


Adding one more answer as the solution is from different contexts:

MongoDb Atlas problem solution

I connected to MongoDB Atlas and whitelisted my machine's IP by following the below steps:

  • Go to the security tab

the security tab

  • Go to the network access tab under the security tab

network access tab under security tab

  • Go to the IP whitelist tab

IP whitelist tab


~ Answered on 2019-07-30 07:18:06


Most Viewed Questions: