External TiDB Cloud MySQL connection from InfinityFree timing out

Hello,
I am having an issue connecting my website hosted on InfinityFree to an external TiDB Cloud MySQL database.
This connection used to work normally before, but recently it stopped working on my website.
The same database is still accessible normally through MySQL Workbench using the same host, port, username and password.
On my website, the PHP connection test returns:
Connection timed out
I also checked the TiDB Cloud network settings and the public endpoint is enabled.
The authorized networks currently allow public connections (0.0.0.0 - 255.255.255.255), so it does not appear to be an IP allowlist issue on the database side.
Because of that, I would like to ask:

  1. Does InfinityFree currently allow outbound connections from hosted PHP websites to external MySQL-compatible databases such as TiDB Cloud?
  2. Is there any restriction on outgoing connections to port 4000 (used by TiDB MySQL endpoint)?
  3. Could there be any recent network change or firewall limitation on the InfinityFree side that would cause external database connections to time out?
    If needed, I can also provide the exact PHP test script I used.
    Thank you.

The remote DB must operate precisely on port 3306 other wise it’ll be blocked