windows 7访问虚拟机 centos tomcat访问不了

win7访问不了局域网里Linux上的tomcat服务的问题

背景:宿主机-windows 7

virtualbox里安装centos,centos与宿主机windows 7是桥接。

在centos里启动了tomcat服务,在本机centos里可以用localhost:8080访问。

但是在windows 7里不能访问。
  www.2cto.com 
解决方案:在centos里把iptables关闭即可解决。

命令:service iptables stop

猜你喜欢

转载自makemyownlife.iteye.com/blog/1641352
今日推荐