I'm running ubuntu on my laptop but need to be able to test my work in windows xp where I'm using virtualbox. is it possible to tunnel my localhost so that it can be accessed by IE inside virtualbox?

link|improve this question
feedback

migrated from stackoverflow.com Feb 10 '10 at 0:57

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 2 down vote accepted

You don't need to tunnel. Just request either the IP address of the Ubuntu machine or it's FQN. I use that all the time when doing testing on my machine. Basically Vbox acts as a NAT so if you do an ifconfig and then hit the IP address of the machine you should be good.

link|improve this answer
it works just like you describe, thank you for your help – kristian nissen Feb 10 '10 at 9:43
feedback

Virtualbox can see your host machine as just another machine on the network - if that's what you are asking?

link|improve this answer
feedback

If you are using the default networking mode (NAT), then the guest can access the host at 10.0.2.2, or via it's 'normal' IP address.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.