Connect to a VirtualBox guest machine over the network

Posted Over 12 years ago. Visible to the public.

You must reconfigure the guest so it will get its own IP address:

  • Shutdown the guest
  • In the guest's VirtualBox settings, choose Network and switch the network adapter type to Bridged
  • Restart the guest
  • Read the guest's IP address from the output of ifconfig (Unix) or ipconfig (Windows)
  • You can now connect to this IP address using HTTP, SSH, etc.

Note that by doing this your VirtualBox guest is fully exposed on the local network, just like your host machine.

Henning Koch
Last edit
About 12 years ago
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-10-25 19:01)