Can't connect mysql remotely

I want to control mysql database remotely
i have allowed port 3306
as in the picture

Edit Firewall Rule

But also I can’t control data base remotely
can you help me?

check Database — Hestia Control Panel documentation

I have followed the steps but it refuses to connect

Error SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\tecwindow\2.php:7 Stack trace: #0 

Check the mysql configuration (specifically the ip bind)

The problem has been caused by Hestia Control Panel
function of opening port inside firewall of Hestia Control Panel did not work as expected
For this, I opened port with this command inside ssh

iptables -A INPUT -p tcp --dport 3306 -j ACCEPT

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.