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 |
---|---|---|---|
mongod ignores mongod.conf on macOS | 0 | 399 | Jun 2024 |
I am unable to make the regex insensitive | 8 | 403 | Jul 2024 |
Error “Invalid UTF-8 string in BSON document” after rebuild on Windows | 5 | 1.8k | Sep 2024 |
Best Practices for BulkWrite Performance with Large Documents and Array Fields in a 2-Node Replica Set | 1 | 513 | Sep 2024 |
5.0.29 release date? | 0 | 37 | Sep 2024 |