将指定端口添加到防火墙配置中进行放行 /sbin/iptables -I INPUT -p tcp --dport 端口号 -j ACCEPT 将该设置添加到防火墙配置 /etc/rc.d/init.d/iptables save