an hour ago
Hi Railway team,
I'm using Railway Pro.
I have a Railway-managed MySQL database.
The database itself is healthy:
- MySQL starts successfully.
- Logs show "ready for connections".
- Private Networking works correctly.
- Services inside Railway can connect to mysql.railway.internal.
However, Public Networking is not reachable.
Current public endpoint:
altaria.proxy.rlwy.net:51845 -> 3306
From multiple external networks (including mobile hotspot), every TCP connection times out.
Tests:
nc -vz -w 5 altaria.proxy.rlwy.net 51845
Result:
nc: connectx to altaria.proxy.rlwy.net port 51845 (tcp) failed: Operation timed out
I have already:
- Recreated the Public TCP Proxy
- Restarted the MySQL service
- Confirmed MySQL is listening on port 3306
- Tested from multiple networks
Could you please check whether the TCP proxy for this service is correctly provisioned?
Thank you.
6 Replies
an hour ago
Having looked into this, the issue appears to be in your application code or configuration rather than the Railway platform itself, which puts it outside what Railway support can resolve directly.
This is exactly the kind of problem the Railway community is good at, so we'd like to open your thread as a community bounty. Railway pays a bounty to the community member who solves it, and threads like this usually get picked up quickly.
Opening it makes this entire thread public, including everything already posted. Nothing becomes public until you decide. Use the buttons below.
- Open to the community - Before you click, take a moment to edit or remove anything you'd rather not share. The thread becomes publicly visible right away.
- Keep it private and close the thread - Nothing becomes public. The thread closes, since this isn't something Railway support can take further.
Status changed to Awaiting User Response Railway • about 1 hour ago
an hour ago
This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.
Status changed to Open Railway • about 1 hour ago
0x5b62656e5d
Have you tried using a VPN?
34 minutes ago
yeah, I tested through a Singapore VPN as requested, but it still connot connect
26 minutes ago
Perhaps a different VPN location?
I'm able to run nc just fine:
➜ nc -vz -w 5 altaria.proxy.rlwy.net 51845
Connection to altaria.proxy.rlwy.net port 51845 [tcp/*] succeeded!
0x5b62656e5d
Perhaps a different VPN location? I'm able to run `nc` just fine: ``` ➜ nc -vz -w 5 altaria.proxy.rlwy.net 51845 Connection to altaria.proxy.rlwy.net port 51845 [tcp/*] succeeded! ```
19 minutes ago
Thanks!It works when I enable VPN in global/TUN mode. Without the VPN, ICMP ping works, but TCP connections to the Railway proxy port time out.
18 minutes ago
Solved.
The issue turned out to be network routing.
ICMP (ping) worked, but TCP connections to the Railway proxy timed out from my local network.
After enabling my VPN in global/TUN mode, the TCP connection succeeded and I could connect to MySQL normally.
Thanks for the help!
