skip to Main Content

Mongodb – node app.js is not working when i am linking with mongod

const timeoutError = new error_1.MongoServerSelectionError(Server selection timed out after ${serverSelectionTimeoutMS} ms, this.description); MongoServerSelectionError: connect ECONNREFUSED ::1:27017 at Timeout._onTimeout (C:Users*DesktopMONGODBNEW SERVERnode_modulesmongodblibsdamtopology.js:278:38) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) { reason: TopologyDescription { type: 'Unknown', servers: Map(1) { 'localhost:27017' => ServerDescription { address:…

VIEW QUESTION

Javascript – Nodemailer won't send emails

I have a bug related to Nodemailer v. 6.9.3. When I launch nodeJS localhost, then this appears: Error: connect ECONNREFUSED 127.0.0.1:465 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -111, code: 'ESOCKET', syscall: 'connect', address: '127.0.0.1', port: 465, command: 'CONN' }…

VIEW QUESTION
Back To Top
Search