a month ago
I am using postgres service, in DATABASE_PUBLIC_URL the RAILWAY_TCP_PROXY_PORT is showing blank
ex - postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}
3 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
a month ago
If your app is hosted on Railway within the same project, you can use railway.internal to connect to your database.
If not, then your only choice is to use the DATABASE_PUBLIC_URL to connect to the db.
a month ago
Can you go into the Settings tab in the DB service, scroll down and check if the TCP Proxy is there? Can you regenerate it by deleting it and adding a new TCP Proxy?