I trying to run my server but i keep on running into this error “Server is running on http://localhost:3001
MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
at _handleConnectionErrors (C:\Users\user\AI_MARKET\node_modules\mongoose\lib\connection.js:1110:11)
at NativeConnection.openUri (C:\Users\user\AI_MARKET\node_modules\mongoose\lib\connection.js:1041:11) {
reason: TopologyDescription {
type: ‘Unknown’,
servers: Map(1) { ‘localhost:27017’ => [ServerDescription] },
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}” . can someone please help.
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Upgrading mongo-tools to current driver | 2 | 310 | Jul 2024 |
Error “Invalid UTF-8 string in BSON document” after rebuild on Windows | 0 | 152 | Aug 2024 |
How to build the static library of a specific MongoDB server module | 0 | 49 | Aug 2024 |
Want to know more about mongod OS user | 2 | 68 | Sep 2024 |
5.0.29 release date? | 0 | 37 | Sep 2024 |