I am new with this deployments and connections between servers and I deployed my app in netlify and my db in mongo atlas, from atlas I gave access to any ip (0.0.0.0.0/0) and I have no CORS problems, but still when I try to connect to the database I get a time out for connection, can someone tell me what I should check?
Taking into account that when I consume the db from localhost it returns me the data and inserts according to the operation, but when I deploy in netlify it does not connect anymore.
Skip to main content
Hello @Juan_Saez welcome to the forums!
Would you mind checking the IP address? It should be 0.0.0.0/0
If it works ok from your localhost I suggest you check your Netlify config. Perhaps this article would help you.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
WHAT IS THE HOST METRICS USED FOR REPLICATION LAG? | 0 | 297 | Apr 2024 |
$setWindowFields is slow to $rank | 2 | 558 | May 2024 |
Hard to explain timeout errors | 0 | 474 | May 2024 |
MongoDB metrics on collection level | 2 | 169 | Oct 2024 |
URGENT - Can’t connect to Flex Cluster after upgrade it from Free | 6 | 110 | Feb 24 |