Page 1 of 1

Connect to virtual machine

Posted: 28. Oct 2008, 17:00
by garnet
Hi all
If this has been discussed, I coudnt find it.
I have winXP host and a VBox guest on Win2003 server.
I have internet access in the Win2003 server, but how do I connect to it from within winXP host.
I.e. I am running a website server on the Win2003, and I want to test it from winXP.
Thanks.

Posted: 28. Oct 2008, 21:51
by Sasquatch
If you just want to access the webserver, read the manual (chapter 6) on how to forward ports to the Guest. You then simply connect to the Host on the specified port and it will automatically route the request to the Guest. So if you would forward port 8080 on the Host to 80 on the Guest, you connect, on the Host, to localhost:8080.

Re: Connect to virtual machine

Posted: 16. Apr 2009, 15:19
by garnet
Hi,
I did it for on3 port, but can I do it for more than one port,
i.e. host:8888 > guest:80
host:9999 > guest:5151
etc
it seems to me only one port is accepted.

Also, how can I see which port(s) are forwarded?

Re: Connect to virtual machine

Posted: 16. Apr 2009, 17:05
by vbox4me2
Look inside the <machine>.xml file for that VM, you can have multiple entries.