Here is the situation:
-Using VMWare Workstation, set the network adapter to bridge.
-Host os is winxp, guest os is CentOS 5
-Apache server installed in guest (centos) os
-Say my host ip:172.19.20.100
, my guest ip:172.19.20.101
My host installed rails, so I just type 'rails server' 开发者_如何学编程in command line, it started up a server.I can access that in my guest os when I typing 172.19.20.100:3000
into the browser.
But when I started Apache server in guest, I can't access that in host when I typing 172.19.20.101
into the browser. If I type 172.19.20.101
in the guest, it does work...And ping 172.19.20.101
in the host command line also works.
So I guess something goes wrong in the apache server. But I comapred the httpd.conf with some tutorials and didn't see anything unusual.
Please give some advice.
There is a Windows Installer for rails, and xampp as apache server for windows, both as installer.
It might take a moment or two to get them installed, but it's well worth the effort, since you wouldn't have to deal with virtualization-related problems that way.
精彩评论