© 2026 Hedgehog Software, LLC

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

psql connection times outI

I'm trying to connect to my db via psql on Windows and every combo of connection details fails:

psql -h db.[myid].supabase.co -p 5432 -d postgres -U postgres
psql -h db.[myid].supabase.co -p 5432 -d postgres -U postgres


psql: error: connection to server at "db.[myid].supabase.co" ([ip]), port 5432 failed: Connection timed out (0x0000274C/10060)
        Is the server running on that host and accepting TCP/IP connections?
psql: error: connection to server at "db.[myid].supabase.co" ([ip]), port 5432 failed: Connection timed out (0x0000274C/10060)
        Is the server running on that host and accepting TCP/IP connections?


When I use DBeaver to connect it works. When I use the REST API via a web app it works. Why is the psql command not working?
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

Access psql shell
SupabaseSSupabase / help-and-questions
3y ago
Connection times out in Transaction mode only
SupabaseSSupabase / help-and-questions
7d ago
Preventing psql function execution
SupabaseSSupabase / help-and-questions
4y ago
Cannot connect to database on port 5432 – P1001 error and psql connection closed unexpectedly
SupabaseSSupabase / help-and-questions
7mo ago