其他分享
首页 > 其他分享> > 主机不能访问虚拟机中的web服务

主机不能访问虚拟机中的web服务

作者:互联网

今天在虚拟机centos7下搭建了一个nodejs服务器,发现主机ubuntu无法访问。

试过几种方法,无效,

最后解决了

桥接模式下关闭防火墙web

[root@localhost sysconfig]# systemctl stop firewalld.service
[root@localhost sysconfig]# systemctl start firewalld.service

标签:web,service,主机,虚拟机,sysconfig,systemctl,localhost
来源: https://www.cnblogs.com/StephenWu5/p/16323680.html