[root@localhost html]# /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
[root@localhost html]# /etc/init.d/iptables save
[root@localhost html]# /etc/init.d/iptables restart
主机无法访问 VMware 里的 nginx 站点
原文:https://www.cnblogs.com/xubd/p/12631070.html