Mongodb is not being connected when deploying in render, but it is connected when deployed to the localhost

Hi there,

Have you whitelisted all the IP addresses you want to connect to the database from? That’s one of the most common reasons why a connection to a database fails when changing from localhost to a server.

Let us know if you have any further questions.


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

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