一、防火墙的相关命令
systemctl start firewalld
systemctl stop firewalld
systemctl enble firewalld
firewall-cmd --add-port=3306/tcp --permanent
firewall-cmd --reload
firewall-cmd --zone=public --list-ports
二、查看端口的相关命令
netstat -ntlp
netstat -ntlp | grep 3306
kill -9 10086