Error: connect ECONNREFUSED ::1:5432 SOLVED in Node JS PostgreSQL

Subscribers:
40,400
Published on ● Video Link: https://www.youtube.com/watch?v=X0sQJfS4mE8



Duration: 1:12
106 views
0


In this tutorial we will see how to fix node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
Error: connect ECONNREFUSED ::1:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net:1494:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 5432
}

Node.js v18.14.0 in postgresql connection







Tags:
Error: connect ECONNREFUSED ::1:5432
error: connect econnrefused ::1:5432 postgresql
node js postgresql tutorial
node js postgresql connection
node js postgresql error
postgresql connection refused