Application can't access postgress

boskiv
HOBBYOP

a month ago

2025/10/09 19:00:50 Unable to ping database:  postgresql://postgres:xxxxxxxxxx@postgres.railway.internal:5432/railway
2025/10/09 19:00:50 Failed to connect to database: unable to ping database: context deadline exceeded

But Public URL works fine

0 Replies

Is this project that is attempting to connect the database within the same project as the database?


boskiv
HOBBYOP

a month ago

Yes


boskiv
HOBBYOP

a month ago

1425930663240007700


boskiv
HOBBYOP

a month ago

Redis works fine, but postgres only with PUBLIC


Assuming it's the backend that's failing


hmm.


Is this the default Postgres template? Created by right click -> postgres?


boskiv
HOBBYOP

a month ago

yes it is. but maybe it's my application code? there is golang


boskiv
HOBBYOP

a month ago

maybe there is problem with ipv6 connection?


If it's the default template then it should be bound to IPv6 just fine


Can you screenshot the private networking settings under the postgres service?


boskiv
HOBBYOP

a month ago

that one?

1425932023532490800


<:squinteline:902180197426667520>


Loading...
Application can't access postgress - Railway Help Station