kinopyo
kinopyo

Reputation: 1687

Apache Server Problem? can't access apache server in Guest OS from Host OS when using vmware

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.

Upvotes: 0

Views: 1271

Answers (1)

user350814
user350814

Reputation:

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.

Upvotes: 1

Related Questions