关于主机不能访问虚拟机的web服务解决
centos7默认并没有开启80端口,我们只有开启就行
[root@localhost sysconfig]# firewall-cmd --permanent --add-port=3032/tcp
success
[root@localhost sysconfig]# firewall-cmd --reload
success
也可以将防火墙关闭
[root@localhost sysconfig]# systemctl stop firewalld.service
[root@localhost sysconfig]# systemctl start firewalld.service

浙公网安备 33010602011771号