I installed VirtualBox on my Windows 7 machine. Through VirtualBox, I installed Ubuntu 9.10 with apache2. I can view http://localhost from Ubuntu, but is there anyway I can view it from my windows machine too? i.e. run the apache server on ubuntu, and view it from windows? I figured it would open a port or something that would be visible to my whole computer regardless of its virtualness, but I guess not. How do I get around this?
| |||
|
feedback
|
|
Open port 80 in the VM, then go to the IP address of the VM in your browser. | |||||||
feedback
|
|
| |||
|
feedback
|
|
while the vbox is powered down create a secondary network connection of type "host only" power up your vbox and run "ifconfig" from the command line the ip address your looking for is in the second paragraph (mine is 192.168.56.101 ) opt: add the following to your windows hosts file 192.168.56.101 ubuntu now yu can go straight to http://ubuntu/ | |||
|
feedback
|