Nginx配置好了不能访问

阅读 207

2022-11-15


昨天搞好了多久来的心病,linux虚拟机不能联网。既然能联通了,肯定立马着手nginx 的配置了噻!

 

在此,也要记录一下:

 

[cpp] ​​view plain​​ ​​copy​​

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

精彩评论(0)

0 0 举报