© 2026 Hedgehog Software, LLC

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

Ruby on Rails : port 5432 failed: Network is unreachable (ActiveRecord::ConnectionNotEstablished)

Hi, I'm trying to connect my ruby on rails app to supabase. I got this message error when I launch the server (rails s) or trying to migrate (rails db:migrate) :

port 5432 failed: Network is unreachable (ActiveRecord::ConnectionNotEstablished)

I have already done this steps :
- postgresql.conf listen_addresses = '*'
- pg_hba.conf host all all 0.0.0.0/0 md5
But still not got the same error.

But it seems that connection to Supabase is ok : "connection authorized: user=supabase_admin...."

do you have any idea?

thank you very much
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

Network is unreachable
SupabaseSSupabase / help-and-questions
5mo ago
Network unreachable
SupabaseSSupabase / help-and-questions
3mo ago
DB Dump - network is unreachable
SupabaseSSupabase / help-and-questions
3y ago
Network is unreachable from Docker with SQLAlchemy
SupabaseSSupabase / help-and-questions
13mo ago