You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried creating a fresh Cluster using the freeCodeCampBarrie gmail address, but kept getting an error.
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://docs.atlas.mongodb.com/security-whitelist/
Decided to use an existing database that was working.
Yup!
It was all about the time setting on my development machine! Wacky, but thankfully that Stackoverflow user pointed me in the right direction. Must be a wonderful gottchya-security-feature from MongoDB Atlas.
But once I confirmed that new cluster was working on my Mac, I tried the Ubuntu machine and it connected fine just like the previous setup database.
Need a place to put the data!
The text was updated successfully, but these errors were encountered: