大大饭

导航

Nginx_MyError_防火墙问题

centos 6 中nginx启动后无法访问,防火墙原因

  [root@localhost ]# /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
  [root@localhost ]# /etc/init.d/iptables save
  [root@localhost ]# /etc/init.d/iptables restart

posted on 2021-05-16 11:53  大大饭  阅读(40)  评论(0编辑  收藏  举报