I just found out how to access the web server on the virtual machine from the Windows Host.
You need to use the vboxmanage command that comes with virtualbox:
First do:
vboxmanage list vmsto list the names all of the virtual machines on the computer, then do:
vboxmanage modifyvm "[virtual machine name]You can then point your web browser on the windows host to http://localhost:8080 to see the web server on the virtual machine." --natpf1 "http,tcp,,8080,,80"
I don't know the syntax - see the VirtualBox Manual, Chapter 6 for details.
No comments:
Post a Comment