Menu

Could not connect host

Help
2013-08-14
2014-10-24
  • daniel anggrianto

    Hi,
    I run virtualbox under ubuntu machine on apache server. I got this error message:
    Exception Object
    (
    [message:protected] => Could not connect to host (http://localhost:18083/)
    [string:Exception:private] =>
    [code:protected] => 64
    [file:protected] => /var/www/phpvirtualbox/lib/ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
    (
    )

    [previous:Exception:private] =>
    

    )
    when i check the files permission it is owned by root user what user should i run it under?

     
  • netcrew

    netcrew - 2013-08-14

    Normaly, this Errormessage is a permissionfailure.
    Please check your permissions from:
    /var/www/YourPHPVirtualBox path
    /Your/Path/To/The/VMS
    With which user you start the vboxweb-service, it must be the same user, how with the upper folders.

     
  • hec1152

    hec1152 - 2014-10-24

    Hi. I'm having this same (?) problem connecting to host. I'm somewhat over my head but I've tried to read the info on this topic including above reply. Following it, I changed ownership of phpvirtualbox directory to the user that runs Virtualbox. i.e. sudo chowne -R hec:vboxuser phpvirtualbox. The message from attempting to login to phpvirtualbox is now:

    xception Object
    (
    [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
    [string:Exception:private] =>
    [code:protected] => 64
    [file:protected] => /var/www/html/phpvirtualbox/lib/ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
    (
    )

    [previous:Exception:private] =>
    

    )

    I don't think there's any change to what it was before. What else could you suggest I try? I really want to use phpvirtualbox and would appreciate some help. THanks in advance.

     

Log in to post a comment.