用vm安装好centos后,配好了php的环境,但本机能访问http://localhost,其余局域网经过ip就不能访问, php
最后在网上查到说是防火墙的问题。 centos
输入命令:service iptables stop 。 ip
此后局域网的机器就能访问了 get