想要开放端口,要先去了解防火墙状态和网络命令
centos下查看已经开放的所有端口 netstat -anp
查看端口被哪个服务占用netstat -anp | grep 端口号
查看防火墙状态systemctl status firewa
2021-06-28