0
点赞
收藏
分享

微信扫一扫

Nginx配置好了不能访问

杏花疏影1 2022-11-15 阅读 205


昨天搞好了多久来的心病,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 条评论