Hello,
I have installed DirectAdmin 1.654 with enabled CSF firewall on Debian 11.
Php scripts can't connect to remote ip 1.2.3.4 port 3306 (connection refused)
On server I checked
debian@server:~$ telnet 1.2.3.4 3306 (where ip is public and port is open) and I get : telnet: Unable to connect to remote host: Connection refused
but if I try:
debian@server:~$ sudo -s
root@server:/home/debian# telnet 1.2.3.4 3306
it's ok , connected ...
Also I have added port 3306 in TCP IN OUT (IPv4) in CSF config
why this happen ?
I have installed DirectAdmin 1.654 with enabled CSF firewall on Debian 11.
Php scripts can't connect to remote ip 1.2.3.4 port 3306 (connection refused)
On server I checked
debian@server:~$ telnet 1.2.3.4 3306 (where ip is public and port is open) and I get : telnet: Unable to connect to remote host: Connection refused
but if I try:
debian@server:~$ sudo -s
root@server:/home/debian# telnet 1.2.3.4 3306
it's ok , connected ...
Also I have added port 3306 in TCP IN OUT (IPv4) in CSF config
why this happen ?