1.修改 iptables 配置,添加 80 端口
[root@localhost ~]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2.保存配置
[root@localhost ~]# service iptables save
3.重启防火墙
[root@localhost ~]# service iptables restart
本文为原创文章,版权归国外主机测评所有,欢迎分享本文,转载请保留出处!
1.修改 iptables 配置,添加 80 端口
[root@localhost ~]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2.保存配置
[root@localhost ~]# service iptables save
3.重启防火墙
[root@localhost ~]# service iptables restart
本文为原创文章,版权归国外主机测评所有,欢迎分享本文,转载请保留出处!