SupabaseS
Supabase12mo ago
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
Was this page helpful?