#getting this error many times while deploy the app

5 messages · Page 1 of 1 (latest)

compact pendant
#

MongooseServerSelectionError: connect ECONNREFUSED 0.0.0.0:27017
at NativeConnection.Connection.openUri (/app/node_modules/mongoose/lib/connection.js:824:32)
at /app/node_modules/mongoose/lib/index.js:413:10
at /app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/app/node_modules/mongoose/lib/index.js:1266:10)
at Mongoose.connect (/app/node_modules/mongoose/lib/index.js:412:20)
at Object.exports.connect (/app/config/database.js:6:6)
at Object.<anonymous> (/app/index.js:1:30)
at Module._compile (node:internal/modules/cjs/loader:1155:14) {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) { '0.0.0.0:27017' => [ServerDescription] },
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}

help me out to deploy my app successfully

sly drumBOT
#

Project ID: N/A

compact pendant
#

where i have to press that

compact pendant
brisk thorn
#

You have the mongo URL Incorect