Issue with Postgres on deployment
Hello,
My node.js backend for a python-based bot is crashing on deployment because of an error connecting to the Postgres database. The DB is in the same service stack. The application uss only the DATABASE_URL with all of the correct parameters pasted from what Railway tells me, so I do not understand why a localhost ip is even there.
The full error log is as follows:
project id: 578ca578-fb97-4683-b8ef-2c59b4a09608
I also get the notification "Looks like your app is listening on 127.0.0.1. You may need to listen on 0.0.0.0 instead." I read through that documentation intensively but being new to Railway I do not know how to actually have the program listen to that, since it is a mystery for me.
2 Replies