![]() Īt new MongooseServerSelectionError (C:\Users\anna james\Dropbox\MERN_SHOPPING_LIST\back\node_modules\mongoose\lib\error\serverSelection.js:24:11)Īt (C:\Users\anna james\Dropbox\MERN_SHOPPING_LIST\back\node_modules\mongoose\lib\connection.js:823:32)Īt nnect (C:\Users\anna james\Dropbox\MERN_SHOPPING_LIST\back\node_modules\mongoose\lib\index.js:333:15)Īt Object. Make sure your current IP address is on your Atlas cluster's IP whitelist. MongooseError : Could not connect to any servers in your MongoDB Atlas cluster. This is the error I receive after running nodemon. then(() => console.log( 'Database Connected' )) Var app = useNewUrlParser: true, useCreateIndex: true, useUnifiedTopology: true }) I looked through all the solutions on here but none of them were able to solve this. I've already added my current IP address along with the 0.0.0.0 on the IP whitelist.īelow is a picture of the error message and the code I've written to connect it. Make sure your current IP address is on your Atlas cluster's IP whitelist". "Could not connect to any servers in your MongoDB Atlas cluster.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |