© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
2 replies
hustler

Urgent Connection Timeout (Errno 10060) on Direct PostgreSQL Connection

🔢DB Connections
I am unable to connect to my PostgreSQL database host url from my local Windows development machine. The connection attempt consistently results in a
TimeoutError (Errno 10060)
TimeoutError (Errno 10060)
during the Uvicorn server startup (via SQLAlchemy/AsyncPG).

Full Context & Troubleshooting Steps Taken:

1. DNS Resolution Issue: My local machine is resolving the hostname only to the IPv6 address, and the connection attempts are timing out:

* Ping Result:
Pinging db... [2406:da12:b78:xxxx:xxxx:xxxx:xxxx:xxxx]
Pinging db... [2406:da12:b78:xxxx:xxxx:xxxx:xxxx:xxxx]
and showing
Request timed out.
Request timed out.

* Telnet/Network Test Result:
Could not open connection to the host, on port 5432: Connect failed
Could not open connection to the host, on port 5432: Connect failed


2. Supabase Console Warning: My console explicitly shows a warning regarding compatibility: "Not IPv4 compatible. Use Session Pooler or purchase IPv4 add-on."
3. Local Environment Confirmation:

* Windows Firewall is disabled.
* I have tried using both the direct hostname and attempting to use the IPv4 address (but was unable to retrieve a working IPv4 A record from public DNS).
* The problem persists and appears to be a network routing issue related to my local network's inability to connect via the provided direct host/port, likely due to the lack of a working IPv4 path.

How can I locate the correct, current Pooler (PgBouncer) connection URI (Host and Port) for this project? PLEASE HELP URGENT ⚠️
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

Recurrent PostgreSQL Connection Issues – ConnectionDoesNotExistError using asyncpg
SupabaseSSupabase / help-and-questions
8mo ago
Connection timeout
SupabaseSSupabase / help-and-questions
4mo ago
Can't use direct connection
SupabaseSSupabase / help-and-questions
8mo ago
Creating roles on supabase and use direct connection
SupabaseSSupabase / help-and-questions
3mo ago