天天看点

nginx开启后主机无法访问虚拟机的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

本文转自 a928154159 51CTO博客,原文链接:http://blog.51cto.com/zhibeiwang/2044168

继续阅读