2

Is their a way to access a web server such as windows server 2003 installed on a virtual box such as vmware from the host machine?

alexandrul
  • 12,856
  • 13
  • 72
  • 99
ethyreal
  • 3,659
  • 2
  • 21
  • 25

7 Answers7

5

If VMware is set to use bridged networking, then each guest OS effectively has its own IP address, like brien said, you just point your browser to that address.

Gabriel Ross
  • 5,168
  • 1
  • 28
  • 30
2

If you configure your virtual machine to use bridged networking, instead of NAT, it will have its own IP address "beside" the host machine, instead of a local IP address "behind" it. Then you can connect to the virtual machine, using that IP number.

(Disclaimer: I've used VMware workstation for several years, but not their server products.)

Thomas Padron-McCarthy
  • 27,232
  • 8
  • 51
  • 75
0

Yes, you should just be able to point to the IP address of the VM.

How is your VM networking configured?

brien
  • 4,400
  • 4
  • 30
  • 32
  • it was set to NAT networking, but i'm going to change it to bridged and assign it an ip address now. – ethyreal Sep 19 '08 at 15:02
0

I am doing this all over the place, just make sure that the vm has an ip configured.

DevelopingChris
  • 39,797
  • 30
  • 87
  • 118
0

i believe vmware (workstation?) also has built in a virtual network client (VNC) that you can connect to - enable it by going to the configuration properties of the vm, and in the last tab there is a checkbox for it.

Chii
  • 14,540
  • 3
  • 37
  • 44
0

IP address should do it.

David Robbins
  • 9,996
  • 7
  • 51
  • 82
0

I faced the same issue. You have to set your networkconnection to "bridged mode" in your VM. Then you have to find out the IP of your Webserver.

Sometimes Webservers have a redirect to a specific URL. In this case you can edit your host-file in C:/Windows/System32/drivers/etc/hosts and add your IP with the redirected URL like this:

192.168.0.37 some.url-you.need

Then your Host can go to the Webserver. Even participants of your Ethernet can access the Webserver.

slowlert
  • 21
  • 3