0

node:internal/process/promises:246 triggerUncaughtException(err, true /* fromPromise */); ^

Error: connect ECONNREFUSED 127.0.0.1:5432 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5432 }

  • And what information of this request do you have in the logfiles from your PostgreSQL database server? And what happens when you try to connect to the database using a different client, like psql ? – Frank Heikens Feb 01 '22 at 13:41
  • https://stackoverflow.com/a/2333446/1333262 Check this answer for possible reasons. Also Frank's comment is relevant here – Oleg Flores Feb 11 '22 at 12:47
  • Please provide enough code so others can better understand or reproduce the problem. – Community Feb 11 '22 at 12:47

0 Answers0