I'm currently trying to make a chat app with the help of MongoDB.
I keep on getting: Error connecting to MongoDB 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/
However everything I have is in order. My URL is correct (i'm certain). It contains the correct password and the IP I have on the cluster is 0.0.0.0.
I thought it had something to do with my firewall, but I realized that I literally don't have any.
Any idea what might be the issue? Any help would be appreciated.
MONGO_DB URL:
MONGO_DB_URI = mongodb+srv://savkecj:123456789%21@cluster1.qy9av.mongodb.net/?retryWrites=true&w=majority&appName=Cluster1 password is literally 123456789!
Expecting to get a MongoDB successful connection message when I ran npm run server for my application but got the error instead.