2 years ago
Trying to deploy my nextjs application which is communicating with a railway postgres db on the same project, with private networking enabled and getting this error.
another fastapi service is able to successfully communicate with the same db using private networking dns postgres.railway.internal.
it wont let me deploy the nextjs app due to this error. everything works fine locally too.
7 Replies
2 years ago
I have the same issue. It was working fine a few days ago and then just stopped working. I've checked through it multiple times to no avail.
2 years ago
Build
a year ago
I have the same issue during build phase, but how can I solve this issue. I want to use the private network during deployment.
a year ago
Please see my previous message, The private network is not available during the build phase.
You would have to not use the database during build, or use the database but connect to it via the public network.