kinopyo
kinopyo

Reputation: 1687

When I'm using VMware Workstation, Can I access the localhost of my Guest server from the Host?

I'm newbie to the linux and apache server configuration so please give me some advice.

I installed VMware in my WinXP and installed CentOS5 to it. After I set up Apache server in my CentOS, I can access that server from my CentOS(of course). But is there a way to access that from my Windows?

I think that is definitely possible if some ip address and apache configuration is set properly...

Upvotes: 1

Views: 17480

Answers (2)

castis
castis

Reputation: 8223

Go into the device settings on the VM and make sure your ethernet adapter is set to bridged.

Refresh the eth0 interface in centOS and run 'ifconfig' to get the IP address.

At that point you should be able to just throw the IP into a browser on the host machine and be good to go.

Upvotes: 7

REW
REW

Reputation: 1247

You need to make sure you have added a VMNetwork, a network adapter to the VM, and that the VMNetwork is one that is bound to being able to use your Host network card. If you have a dhcp server (common from a household DSL router), then your VM Guest should get an IP address from it. Then you should be able to start apache and then browse to it by the dhcp address received.

Upvotes: 4

Related Questions