Error Connecting to mongodb after deploying backend on render?

After Building app these error occurs.

DB Connection Failed
Jul 9 11:22:01 AM MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you’re trying to access the database from an IP that isn’t whitelisted.

Please somebody help me :pray::pray:

Hi there,

The output you provided shows you what you need to do:

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you’re trying to access the database from an IP that isn’t whitelisted. Make sure your current IP address is on your Atlas cluster’s IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/

This is a Mongo configuration issue and not a Render configuration issue,

Regards,

John B
Render Support, UTC+1 :uk:

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