Remote MySQL connections getting blocked?

This one is a bit new for me so not sure if this is a firewall issue or not. We have a new script on our CF protected server that reaches out to a remote SQL database to validate login information. Somewhere along the line that info is getting lost or blocked and we are wondering if it might be due to the CF firewall. How can I make it so that any incoming or outgoing remote MySQL requests are allowed in AND out? The error we are getting is simply:

Failed to connect to MySQL: (2002) Connection refused

but remote MySQL is active and enabled on both servers. Any ideas?

Cloudflare is not involved in any connections leaving your server. You need to clarify this with the administrator of the target server.

1 Like