How to make windows access web server in VM linux OS

来源:互联网 发布:双色球精密分析软件 编辑:程序博客网 时间:2024/05/19 09:04

environment: Windows + VMware player 3 + CENTOS 5 in VM

* select VM menu "Virtual Machine > Virtual Machine settings > Network adapter node", choose "NAT" option

* in vm CENTOS, 通过ifconfig查到IP地址(e.g. 192.168.40.128)

* 我能在WINDOWS中PING通192.168.40.128,但是我在主机上不能通过 http://192.168.40.128/ 来访问虚拟机中的Web服务器


解决方法是:
in CENTOS menu "System > Administration > Security Level and Firewall", in "Firewall Options" tab, with "Enabled" mode, tick "WWW (HTTP)" checkbox, Done!

原创粉丝点击