![]() MongooseServerSelectionError: connect ECONNREFUSED ::1:27017Īt _handleConnectionErrors (C:\Users\asvar\Desktop\ReactJsHarry\inotebook\backend\node_modules\mongoose\lib\connection.js:788:11)Īt NativeConnection.openUri (C:\Users\asvar\Desktop\ReactJsHarry\inotebook\backend\node_modules\mongoose\lib\connection.js:763:11) )ĭb.js: const mongoose = require('mongoose')Ĭonst mongoURI = "mongodb://localhost:27017/AmritData"Ĭonsole. The error I am getting in terminal of vs code : Error saving user: Operation `users.insertOne()` buffering timed out after 10000msĬ:\Users\asvar\Desktop\ReactJsHarry\inotebook\backend\node_modules\mongoose\lib\connection.js:788 Just to make sure it is connecting with the MongoDB compass or not. In Compass 1.22 Beta we are introducing the integrated MongoDB Shell, which allows you to run database commands and scripts directly from Compass. I have a created a new Database over there and trying the post the data over there. ![]() ![]() Download Now Read the docs Easily work with your data in Compass, the GUI built by and for MongoDB. Get key insights, drag and drop to build pipelines, and more. I am getting an error when try to hit the post request on the MongoDB tool. You can also attach a MongoDB shell to the active connection, simply by right-clicking on the connection itself. Step 1 Preparing the Sample Database To explain how to create queries in MongoDB including how to filter documents with multiple fields, nested documents, and arrays this guide uses an example database containing a collection of documents that describe the five highest mountains in the world. Compass is a free interactive tool for querying, optimizing, and analyzing your MongoDB data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |