Skip to content

can not connect to db #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fukemy opened this issue Jul 23, 2024 · 0 comments
Open

can not connect to db #2

fukemy opened this issue Jul 23, 2024 · 0 comments

Comments

@fukemy
Copy link

fukemy commented Jul 23, 2024

Hi, I got this error when run docker compose up, can you help?

Error connecting to PostgreSQL database AggregateError [ECONNREFUSED]: 
#9 0.329     at internalConnectMultiple (node:net:1116:18)
#9 0.329     at afterConnectMultiple (node:net:1683:7) {
#9 0.329   code: 'ECONNREFUSED',
#9 0.329   [errors]: [
#9 0.329     Error: connect ECONNREFUSED ::1:5432
#9 0.329         at createConnectionError (node:net:1646:14)
#9 0.329         at afterConnectMultiple (node:net:1676:16) {
#9 0.329       errno: -111,
#9 0.329       code: 'ECONNREFUSED',
#9 0.329       syscall: 'connect',
#9 0.329       address: '::1',
#9 0.329       port: 5432
#9 0.329     },
#9 0.329     Error: connect ECONNREFUSED 127.0.0.1:5432
#9 0.329         at createConnectionError (node:net:1646:14)
#9 0.329         at afterConnectMultiple (node:net:1676:16) {
#9 0.329       errno: -111,
#9 0.329       code: 'ECONNREFUSED',
#9 0.329       syscall: 'connect',
#9 0.329       address: '127.0.0.1',
#9 0.329       port: 5432
#9 0.329     }
#9 0.329   ]
#9 0.329 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant