R
Railway11mo ago
Serenity

Trouble Connecting Backend Service to Private Endpoint in Railway

Hello everyone, I've been trying to establish a connection between my backend service hosted on Railway and the private endpoint exposed by my PostgreSQL database, also on Railway. However, I've encountered an issue where every attempt made by the service to log in results in an error message stating: "Connection attempt failed." Interestingly, I am able to connect successfully using the public endpoint. Could this potentially cause performance issues? I'd appreciate any insights or suggestions on resolving this connectivity problem. Thank you all for your help. Best regards, Matteo
3 Replies
Percy
Percy11mo ago
Project ID: f861cd09-501b-4b09-a2cb-e076f6a1830e
Serenity
Serenity11mo ago
f861cd09-501b-4b09-a2cb-e076f6a1830e
Brody
Brody11mo ago
try adding a 3 second sleep to your start command
Want results from more Discord servers?
Add your server