Home > Blockchain >  Connect mongodb compass with node.js
Connect mongodb compass with node.js

Time:11-22

I'm trying to connect a nodejs with mongodb using mongo db compass and im getting the following 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: enter image description here

  • Related