Relative Content

Tag Archive for node.jstypescriptnodemon

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] startingts-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...