I tried 0.0.0.0/0 but still didn’t work (it was working before the issue with this config.)
I added all my DNS IP addresses and the web app hosting IP address, and still the same issue.
When I visit the nodejs web app link I get this message:
{
“message”: “Operation users.countDocuments() buffering timed out after 10000ms”,
“stak”: null
}
When I try to run the app using SSH terminal on my web app, I get this error:
Server running on port: 5000
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/