PostGreSQL can't connect with app
ferryvanacker
PROOP

7 months ago

Hi,

I am working with a project, but am working on it for 2 days straight right now and can't connect postgresql for some reason. Keeps on crashing. Can someone help me out please?

$10 Bounty

10 Replies


7 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 7 months ago


fra
HOBBYTop 5% Contributor

7 months ago

Can you share some logs? what error do you see?


ferryvanacker
PROOP

7 months ago

I have started a PostGreSQL.

Clicked on it, go to Variables and copy paste the database_url in the other app, i just sended you

Then put all the credentials in here but it will not start. It keeps crashing


ferryvanacker
PROOP

7 months ago

also tried to do database_URL with ${{ Postgres.DATABASE_URL }}, but also not worked

Attachments


fra
HOBBYTop 5% Contributor

7 months ago

is the db correctly up & running? it is up & running then I don't think I can help, you might need someone from railway to look into this


abdulrehmanjr
PRO

7 months ago

for network outside the railway please use public url to access database


ferryvanacker
PROOP

7 months ago

i have tried both, didn't work


abdulrehmanjr
PRO

7 months ago

Can u please explain or send screenshot of error so i can help you?


abdulrehmanjr
PRO

7 months ago

Can u please send the connection string of your nodejs and what orm You are using. if not i can suggest you to use orm for better connection and queries handling.


ferryvanacker
PROOP

7 months ago

i don't know what an orm is.

And i don't know the connection string. where do i even find it?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...