I’m building a project with Typescript and when I tried to connect to the database with mongodb, I get this issue in the terminal
Failed to connect 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/
I’m building a project with Typescript and when I tried to connect to the database with mongodb, I get this issue in the terminal
Failed to connect 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/
Im building a project with typescript and when I tried to connect the data base with mongodb show me the next issue on te terminal
[nodemon] restarting due to changes... [nodemon] starting
ts-node src/index.ts Server running on port undefined Servidor Funcionando en el puerto: 4000 Failed to connect 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/ [nodemon] app crashed - waiting for file changes before starting...