简体   繁体   English

主机系统中虚拟系统的访问Apache服务器

[英]Access apache server of virtual system in host system

I have installed centOS 6.3 as guest in win7 system using VMware. 我已经使用VMware在win7系统中作为guest虚拟机安装了centOS 6.3。 Apache server is created in centOS and it is working fine. Apache服务器在centOS中创建,并且工作正常。 But I want to access this apache server in host (win7) system. 但我想在主机(win7)系统中访问此apache服务器。 Is it possible to access the apache server installed in guest system from the host system ? 是否可以从主机系统访问安装在来宾系统中的apache服务器?

Use bridged networking. 使用桥接网络。

  1. Go to the Network tab 转到网络标签
  2. Select the network mode in VMWare as Bridged Network 在VMWare中选择网络模式作为桥接网络
  3. Ensure that you have the proper firewall settings on host and guess. 确保在主机上进行正确的防火墙设置,然后猜测。
  4. Save the settings 保存设置
  5. Start the VM Again 再次启动虚拟机
  6. Have fun. 玩得开心。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM