防火墙层面: /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #开启8011端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptables restart #重启服务 查看端口是否已经开放 /etc/init.d/iptables status 查看端口: netstat -pan|grep 2809 本博文来源于:https://www.cnblogs.com/haha12/p/4468217.html 相关文章: 2021-12-10 2021-08-06 2021-09-07 2021-12-31 2022-12-23 2021-09-14 2022-12-23