© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
bennettcohen

Failed to connect to host on local dev

I was running into some issues with local dev so I wanted to restart the whole process. I deleted the local directory, stopped the containers, logged out, and then restarted by doing the following:

supabase login
supabase login

supabase init
supabase init

supabase link --project-ref <project-id>
supabase link --project-ref <project-id>


I think paste in my password and get the following error:
failed to connect to 
failed to connect to 
host=db.irpdusckytoixpmntjfb.supabase.co user=postgres database=postgres
: dial error (dial tcp 54.175.188.50:5432: connect: connection refused)
: dial error (dial tcp 54.175.188.50:5432: connect: connection refused)


Now, I tried to just skip the password but the same error gets thrown when running
supabase db pull
supabase db pull
anyway.

Any tips?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Local dev mailpit
SupabaseSSupabase / help-and-questions
3mo ago
How to view emails on the local dev
SupabaseSSupabase / help-and-questions
7mo ago
OTP Auth on local dev environment.
SupabaseSSupabase / help-and-questions
6mo ago
"failed to connect to postgres: failed to connect to" using supabase cli
SupabaseSSupabase / help-and-questions
5mo ago