Ubuntu port opened for 0.0.0.0 but it seems its not open

Viewed 35

after installing iredmail on ubuntu, my mysql server can't be accessed by any external program, only by the phpmyadmin on web. The port 3306 its open on ufw and the my.cnf file is set the IP to 0.0.0.0. It was working before, but after installing iredmail it seems all ports are messed up, because I cant even access any other services ports, but they appear to be open! What can I do?

sudo netstat -nlt | grep ":3306" output:

tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN

sudo netstat -nlt output:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7777          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7778          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7779          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:7791          0.0.0.0:*               LISTEN
tcp6       0      0 :::21                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::5657                 :::*                    LISTEN
tcp6       0      0 :::443                  :::*                    LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
0 Answers
Related