我一直在使用ubuntu 18.04 LTS在新收购的Google云计算实例上创建virtualbox服务器。除了一件事外,其他所有东西都工作正常:当我尝试通过浏览器中的phpVirtualBox连接到服务器时,它给出了响应:
Exception Object
(
[message:protected] => Could not connect to host(http://35.204.145.102:18083/)
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => /var/www/html/phpvirtualbox/endpoints/api.php
[line:protected] => 134
[trace:Exception:private] => Array
(
)
[previous:Exception:private] =>
)
我的config.php:
/* Username / Password for system user that runs VirtualBox */
var $username = 'robinplom';
var $password = '*********';
/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
var $location = 'http://35.204.145.102:18083/';
/* Default language. See languages folder for more language options.
* Can also be changed in File -> Preferences -> Language in
* phpVirtualBox.
*/
var $language = 'en';
/* Set the standard VRDE Port Number / Range, e.g. 1010-1020 or 1027 */
var $vrdeports = '9000-9100';
<br>
免责声明:我在此领域还很陌生,并使用了本指南:https://www.ostechnix.com/install-oracle-virtualbox-ubuntu-16-04-headless-server/#comment-19054