原因: 1.虚拟机防火墙没关 service iptables stop 2.虚拟机没有放行Nginx默认端口80 /sbin/iptables -I INPUT -p tcp --dport -j ACCEPT