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 |
---|---|---|---|
How to solve connection handshake context deadline exceeded | 0 | 67 | Sep 2024 |
Network configuration MongoDB Replicaset | 2 | 59 | Oct 2024 |
One node is in down status and I don’t know how to repair it | 0 | 60 | Dec 2024 |
Atlas Index Creation | 0 | 75 | Jan 20 |
Mongodb organization suspended | 0 | 19 | Feb 18 |