从VMWare中的来宾操作系统访问主机IIS [英] Accessing host machine IIS from a guest OS in VMWare
问题描述
如何从VMWare(Fedora 10)中的来宾操作系统访问主机上IIS 7中配置的站点。我已将VM配置为使用NAT
How can I access a site configured in IIS 7 on the host machine from a guest OS in VMWare (Fedora 10). I have configured the VM to use "NAT"
推荐答案
取决于您正在使用的vmware产品的网络配置(播放器,服务器) ,工作站)。如果它设置为桥接模式,那么您可以像任何其他机器一样 - 通过主机的IP。如果它是仅主机或NAT模式 - 检查访客的网关IP(/ sbin / route)是什么,并尝试使用它:
Depends on your network configuration of vmware product you are using (player, server, workstation). If it is set for a bridged mode, then you can do it as any other machine - by host machine's IP. If it is a "host only" or NAT mode - check what is the gateway IP for the guest (/sbin/route), and try using it:
# /sbin/route
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.x.y.z 0.0.0.0 UG 0 0 0 eth0
在这种情况下,10.xyz是主机的ip。
In this case, 10.x.y.z is the ip of the host machine.
这篇关于从VMWare中的来宾操作系统访问主机IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!