MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
Mongoose giving error for localhost
how to connect mongoose using NodeJS on localhost
localhost mongodb not getting connected with NodeJS
Problem in mongodb connection using mongoose
NodeJS mongoose mongodb problem
MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
at _handleConnectionErrors (\projection\node_modules\mongoose\lib\connection.js:792:11)
at NativeConnection.openUri (\projection\node_modules\mongoose\lib\connection.js:767: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
}
GitHub Repository Link: https://github.com/sayedazharsabri/wo...
#connection
#connectionissue
#bestway
#solvederror
#realway
#nodejsmongoose
#nodejsmongodb
#nodejsnosql
#learninhindi
#bestteacher
#kahanseseekhein
#programmingseekhnekaasaantareeka
#programmingforall
#codeeasily
#asanisekaiseseekhein
#easyway
#easiestway
#bestway
#withexample
#realway
#realimplementation
#modernway
#CodeByHeart
#code by heart
#sayed azhar sabri
#sayedazharsabri
#azharsir
#AzharSir
#hindi
#urdu