Saturday, July 12, 2014

Setup virtualbox on Ubuntu Server 64 Bit

Setup virtual box on ubuntu server 64bit and use phpvirtualbox to access webui of VirtualBox to manage the instances on virtualbox.

Ubuntu Server 64bit 
VirtualBox 4.3.*

Running VirtualBox and phpvirtualbox on the same machine.

I mostly followed followed this blog 

Except few changes. When I installed virtual box it installed latest version 4.3.* and location of phpvirtualbox has been changed to and used phpvirtualbox 4.3.1 version.

However even after following all the steps right I got following error

I click on details and get the following:

Exception Object
    [message:protected] => Could not connect to host (

I started vboxwebsrv server in foreground and tried to telnet 18083, everything was fine. Then I tried to do wget with url and responded connection refused. Then I tried to wget with url http://localhost:18083 and it responded with 403 error. So url was the problem. Update config.php with http://localhost:18083 in place of That solved my problem.