If I remote into the server and issue a service vboxweb-service restart it'll bind.
I've tried changing the vboxweb-service.service file by adding ifup@enp12s0.service on the AFTER= line as well as adding a [TIMER] section. I don't think that file is being used since nothing changed its behavior. If I edit /etc/default/virtualbox and set VBOXWEB_HOST="0.0.0.0" it binds and the remote client can connect. The problem with that is I have multiple NICs in the machine that are public.
The network interface (enp12s0) has been defined with a static IP address (192.168.42.100).
OS installed
Linux rack 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
VirtualBox packages installed
virtualbox-5.1_5.1.22-115126~Debian~stretch_amd64.deb
Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126.vbox-extpack
Here is some output after a reboot:service status
Code: Select all
● vboxweb-service.service - VirtualBox Web Service
Loaded: loaded (/usr/lib/virtualbox/vboxweb-service.sh; enabled; vendor preset: enabled)
Active: active (running) since Mon 2017-07-03 21:24:37 EDT; 44min ago
Process: 838 ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start (code=exited, status=0/SUCCESS)
Tasks: 17 (limit: 4915)
CGroup: /system.slice/vboxweb-service.service
├─1099 /usr/lib/virtualbox/vboxwebsrv --background -H 192.168.42.100 -t 5 -i 1 -F /var/log/vboxwebservice.log
├─1101 /usr/lib/virtualbox/VBoxXPCOMIPCD
└─1106 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
Jul 03 21:24:37 rack systemd[1]: Starting VirtualBox Web Service...
Jul 03 21:24:37 rack vboxweb-service.sh[838]: vboxweb-service.sh: Starting VirtualBox web service.
Jul 03 21:24:37 rack systemd[1]: Started VirtualBox Web Service.
Code: Select all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.42.100:10000 0.0.0.0:* LISTEN 1159/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 834/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1166/exim4
tcp 0 0 192.168.42.100:22 192.168.42.41:34500 ESTABLISHED 1170/sshd: rack [pr
tcp6 0 0 :::22 :::* LISTEN 834/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1166/exim4
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1159/perl
udp 0 0 0.0.0.0:68 0.0.0.0:* 1145/dhclient
Code: Select all
VirtualBox web service 5.1.22 r115126 linux.amd64 (Apr 28 2017 17:33:20) release log
00:00:00.012995 main Log opened 2017-07-04T01:24:37.404872000Z
00:00:00.012997 main Build Type: release
00:00:00.013000 main OS Product: Linux
00:00:00.013001 main OS Release: 4.9.0-3-amd64
00:00:00.013002 main OS Version: #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)
00:00:00.013014 main DMI Product Name: To Be Filled By O.E.M.
00:00:00.013019 main DMI Product Version: To Be Filled By O.E.M.
00:00:00.013050 main Host RAM: 32195MB (31.4GB) total, 32021MB (31.2GB) available
00:00:00.013053 main Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.013053 main Process ID: 1099
00:00:00.013054 main Package type: LINUX_64BITS_DEBIAN_9_0
00:00:00.027548 main IPC socket path: /tmp/.vbox-vbox-ipc/ipcd
00:00:00.240975 SQPmp #### SOAP FAULT: Cannot assign requested address [is internal]
00:00:01.233483 Watchdog Statistics: 0 websessions, 0 references
After logging in and issuing service vboxweb-service restart:
service status
Code: Select all
● vboxweb-service.service - VirtualBox Web Service
Loaded: loaded (/usr/lib/virtualbox/vboxweb-service.sh; enabled; vendor preset: enabled)
Active: active (running) since Mon 2017-07-03 22:42:37 EDT; 13s ago
Process: 2748 ExecStop=/usr/lib/virtualbox/vboxweb-service.sh stop (code=exited, status=0/SUCCESS)
Process: 2758 ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start (code=exited, status=0/SUCCESS)
Tasks: 18 (limit: 4915)
CGroup: /system.slice/vboxweb-service.service
├─1101 /usr/lib/virtualbox/VBoxXPCOMIPCD
├─1106 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
└─2770 /usr/lib/virtualbox/vboxwebsrv --background -H 192.168.42.100 -t 5 -i 1 -F /var/log/vboxwebservice.log
Jul 03 22:42:37 rack systemd[1]: Starting VirtualBox Web Service...
Jul 03 22:42:37 rack vboxweb-service.sh[2758]: vboxweb-service.sh: Starting VirtualBox web service.
Jul 03 22:42:37 rack systemd[1]: Started VirtualBox Web Service.
Code: Select all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.42.100:10000 0.0.0.0:* LISTEN 1159/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 834/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1166/exim4
tcp 0 0 192.168.42.100:18083 0.0.0.0:* LISTEN 2770/vboxwebsrv
tcp 0 0 192.168.42.100:22 192.168.42.41:34500 ESTABLISHED 1170/sshd: rack [pr
tcp6 0 0 :::22 :::* LISTEN 834/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1166/exim4
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1159/perl
udp 0 0 0.0.0.0:68 0.0.0.0:* 1145/dhclient
Code: Select all
VirtualBox web service 5.1.22 r115126 linux.amd64 (Apr 28 2017 17:33:20) release log
00:00:00.001770 main Log opened 2017-07-04T02:42:37.873308000Z
00:00:00.001774 main Build Type: release
00:00:00.001778 main OS Product: Linux
00:00:00.001779 main OS Release: 4.9.0-3-amd64
00:00:00.001781 main OS Version: #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)
00:00:00.001805 main DMI Product Name: To Be Filled By O.E.M.
00:00:00.001816 main DMI Product Version: To Be Filled By O.E.M.
00:00:00.001876 main Host RAM: 32195MB (31.4GB) total, 31989MB (31.2GB) available
00:00:00.001881 main Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.001882 main Process ID: 2770
00:00:00.001883 main Package type: LINUX_64BITS_DEBIAN_9_0
00:00:00.004344 main IPC socket path: /tmp/.vbox-vbox-ipc/ipcd
00:00:00.013314 SQPmp Socket connection successful: host = 192.168.42.100, port = 18083, master socket = 9
00:00:01.011457 Watchdog Statistics: 0 websessions, 0 references