railway cli
run
don't like private network
coderjoshdk
PROOP

2 years ago

I am trying to do the railway run ./manage shell for a django operation. However, this seems impossible if I am connected to the private network? Maybe not impossible but not properly supported out of the box ... but when I try to make a proper connection, some errors get raised.

django.db.utils.OperationalError: could not translate host name "postgres-oo4n.railway.internal" to address: nodename nor servname provided, or not known

<:PikaConfuse:1202127110349524993> <:pithink:652247559909277706>

I mean, I am sure if I change the vars to use the public one and then switch it back ... that is just non ideal though

project id: 1b326884-0c17-43ed-9b52-f443662e8f50

Closed

3 Replies

2 years ago

you can't access the private domain locally, you would need to use the public host and port


coderjoshdk
PROOP

2 years ago

<:cry_gil:795020958352146443> ok. Yea I figured


2 years ago

tunneling into the private network with the cli is planned


Welcome!

Sign in to your Railway account to join the conversation.

Loading...