RAILWAY_TCP_PROXY_PORT public port blank
sr-tech-technology
PROOP

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}}

$10 Bounty

3 Replies

Railway
BOT

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!


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.


medim
MODERATOR

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?


Loading...