R
Railway3y ago
Desch

Connection Refused to Postgres

Hey all, I'm trying to migrate a Ruby on Rails app from Heroku to Railway, but I'm having difficulty getting it to talk to the database - it looks like the connection is being refused. All I did was create the PostgreSQL service and restore it with psql; are there other steps I may need to do to allow my web service to talk to it?
3 Replies
Desch
DeschOP3y ago
ah seems manually defining DATABASE_URL worked
JustJake
JustJake3y ago
Shouldn’t need to! Should just be provided
Desch
DeschOP3y ago
hrm I will remove it and see what happens
Want results from more Discord servers?
Add your server