My deployed web application on render cannot access to mongodb endpoint that I deployed using MongoDB CLI

My deployed web application on render cannot access to mongodb endpoint that I deployed using MongoDB CLI.

I am trying to fetch data from mongoDB endpoint. Even though it opens to all, and it works fine in localhost, when I deploy the project on render, the application do not fetch data from mongodb.

Could you please help me?

Hi Mert,

One thing to be sure to check is that your Render application is properly configured to be able to connect to your database, e.g. with the right credentials and not pointed at localhost.

Beyond that, let’s continue the conversation privately in the support ticket you submitted.

Regards,
Mike


Render Support Engineer, MT (UTC-6)

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