7 days ago
Hello.
For the past few days, all my MySQL databases hosted on Railway have been throwing the following error: mysqli::real_connect(): (HY000/2002): Connection refused.
We haven't changed anything regarding the connection or settings. What could have happened, and how can I resolve this?
6 Replies
7 days 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 • 7 days ago
7 days ago
Yes, twice.
7 days ago
If no changes were made on your end. Try to redeploy source image by selecting your service, then press Ctrl+k, then redeploy source image. This might work better than a normal redeploy.
7 days ago
I switched servers, and it worked correctly. My question is: is there a firewall or some mechanism on Railway that blocks IPs? I had never configured anything like that.
matheusmiguel
I switched servers, and it worked correctly. My question is: is there a firewall or some mechanism on Railway that blocks IPs? I had never configured anything like that.
7 days ago
Railway doesn't have a mechanism to allow/block IPs.