roland1982

解决LINUX APACHE服务器不能访问的问题

 

检测防火墙
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                                                   //保存防火墙规则

分类:

技术点:

相关文章:

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