TurnKey Linux Virtual Appliance Library

Trouble connecting to an appliance hosted in a VirtualBox VM (SOLVED)

I just installed turnkey-mediawiki-2008.10.29-hardy-x86 in a VirtualBox machine.  The console says to go to http://10.0.2.15, but there is no response.  The host is Hardy Heron. 

How can I find the problem?

I also have this turnkey-mediawiki-2008.10.29-hardy-x86 installed on a VMWare machine with a winXP host.  It is working fine. 

So I suppose there is a problem with either VirtualBox or the Hardy host.

Liraz Siri's picture

VirtualBox network configuration

It just so happens we do most of our testing in VirtualBox (on hardy heron as well).

I'm guessing you're having a problem with the network configuration for your guest, which is NAT by default on VirtualBox and bridged by default on VMware.

In order to access your appliance as a server you'll want to setup your VirtualBox VM to use bridged networking instead of NAT.

Unfortunately, this is a bit more complicated in VirtualBox than in VMware. See section 6.8 of VirtualBox's manual (host interface networking and bridging on Linux hosts).

I can testify that bridged networking is a bit of a pain to setup on Virtualbox, but once you get it working it seems to work quite well...

Hard indeed...

Hello, I've been to 6.8 of the manual...But a clean how to would be helpful... :) Happy new year ! ;)
Liraz Siri's picture

New version of VirtualBox solves this

Happy new year to you too crony! Updating the documentation to make various things easier is on our todo list, but there is only so much we can do ourselves. For example, right now we're a bit busy getting a new batch of releases ready with a lot of improvements and bug fixes. Hopefully we will get to the documentation soon but it would be great if the community steps up and gives us a hand.

Anyhow, it just so happens that the new version of VirtualBox (2.1) makes setting up bridging type networking much easier. You select which Host Interface you want to bridge your VM too and it just works.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)