检测防火墙
1.开启 /etc/init.d/iptables start
2.查看状态 /etc/init.d/iptables status
3.开启80端口(若没有开启,网络无法通过http访问本机)
  命令:
        ①/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT               //打开80端口
        ②/etc/rc.d/init.d/iptables save                                                   //保存防火墙规则

相关文章:

  • 2022-01-02
  • 2021-10-19
  • 2021-06-24
  • 2021-07-25
  • 2022-01-05
  • 2022-01-06
  • 2022-03-08
猜你喜欢
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-05-15
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案