© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•14mo ago•
28 replies
molemanx

ECONNREFUSED - Unable To Connect To Database

Hi, I've been trying to set up immich for a few hours now but can't get past this error. I'm happy to post logs, I'm using the recommended docker compose setup however I have adapted the compose file for my own setup. Please see below for my compose file. This is a completely new install and I've already tried a couple fixes such as switching the postgres container, deleting all postgres files and restarting my entire stack multiple times.

Any help is hugely appreciated, I'm at a complete loss with this and after reading multiple reddit and github posts I thought it was best to just post here.

Thank you!
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to connect to database
ImmichIImmich / help-desk-support
14mo ago
Unable to connect to the database
ImmichIImmich / help-desk-support
3y ago
Error: connect ECONNREFUSED 127
ImmichIImmich / help-desk-support
15mo ago
Can't connect, econnrefused?
ImmichIImmich / help-desk-support
3y ago