Skip to content

can not connect to db #2

Description

@fukemy

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 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions