I cant connect to my DB via TCP Proxy
joaquinporteiro
PROOP

2 months ago

I have tried everything, restarting, redeploying, deleting and recreating the TCP Proxy on Public Networking Settings, redeploying after that.

And still have the same error:

Error: P1001: Can't reach database server at hopper.proxy.rlwy.net:36114

Please make sure your database server is running at hopper.proxy.rlwy.net:36114.

$20 Bounty

Pinned Solution

domehane
FREE

2 months ago

add ?connect_timeout=30 at the end of your database url like this: postgresql://user:pass@hopper.proxy.rlwy.net:36114/dbname?connect_timeout=30

also, are you on a corporate/school/public wifi? those often silently block non-standard tcp ports. try on a different network or mobile hotspot to rule that out

i hope this help you :)

4 Replies

2 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 2 months ago


domehane
FREE

2 months ago

add ?connect_timeout=30 at the end of your database url like this: postgresql://user:pass@hopper.proxy.rlwy.net:36114/dbname?connect_timeout=30

also, are you on a corporate/school/public wifi? those often silently block non-standard tcp ports. try on a different network or mobile hotspot to rule that out

i hope this help you :)


joaquinporteiro
PROOP

2 months ago

Hey! It worked, thanks!!


Status changed to Solved joaquinporteiro 2 months ago


Status changed to Open brody 2 months ago


domehane

add ?connect\_timeout=30 at the end of your database url like this: postgresql://user:[pass@hopper.proxy.rlwy.net:36114](mailto:pass@hopper.proxy.rlwy.net:36114)/dbname?connect\_timeout=30 also, are you on a corporate/school/public wifi? those often silently block non-standard tcp ports. try on a different network or mobile hotspot to rule that out i hope this help you :)

ricobiuzo
HOBBY

2 months ago

Hi, I'm having a similar problem with Neo4j Graph DB (Community Addition). My Neo4j web browser is on port 7474 and has an login form, when I try to authenticate using port 7687 - I get a timeout error. I have added an additional TCP Proxy port of 7687 in the Network Settings. I reckon there is an issue with TCP Proxy because I even swapped the port numbers round and used 7474 for the TCP Proxy, but no luck seeing the web browser. Any suggestions?


ricobiuzo

Hi, I'm having a similar problem with Neo4j Graph DB (Community Addition). My Neo4j web browser is on port 7474 and has an login form, when I try to authenticate using port 7687 - I get a timeout error. I have added an additional TCP Proxy port of 7687 in the Network Settings. I reckon there is an issue with TCP Proxy because I even swapped the port numbers round and used 7474 for the TCP Proxy, but no luck seeing the web browser. Any suggestions?

goodie323
FREE

2 months ago

Expose Neo4j directly on 7687, not through TCP proxy

  • Ensure Neo4j is listening on:
dbms.connector.bolt.listen_address=0.0.0.0:7687  
  • Open the port externally

Welcome!

Sign in to your Railway account to join the conversation.

Loading...