Menu

Connecting to vboxwebsrv on Windows

2016-02-19
2016-02-22
  • Larry Menard

    Larry Menard - 2016-02-19

    Greetings folks.

    I am new to RemoteBox, but it looks like it could be just what I need. So currently this is just a test, not my production environment.

    I have installed and successfully started the RemoteBox UI, and I have started the "vboxwebsrv.exe" process on Windows 10, and it seems to be sitting waiting for connections:

    C:\Users\Larry>"C:\Program Files\Oracle\VirtualBox\VBoxWebSrv.exe" -t0 -H localhost
    Oracle VM VirtualBox web service Version 5.0.14
    (C) 2007-2016 Oracle Corporation
    All rights reserved.
    VirtualBox web service 5.0.14 r105127 win.amd64 (Jan 19 2016 16:40:17) release log
    00:00:00.001000 main Log opened 2016-02-19T21:42:09.374957700Z
    00:00:00.001000 main Build Type: release
    00:00:00.001000 main OS Product: Windows 10
    00:00:00.001000 main OS Release: 10.0.10586
    00:00:00.001000 main OS Service Pack:
    00:00:00.037916 main DMI Product Name:
    00:00:00.043955 main DMI Product Version: To be filled by O.E.M.
    00:00:00.043955 main Host RAM: 16303MB total, 12541MB available
    00:00:00.043955 main Executable: C:\Program Files\Oracle\VirtualBox\VBoxWebSrv.exe
    00:00:00.043955 main Process ID: 8312
    00:00:00.043955 main Package type: WINDOWS_64BITS_GENERIC
    00:00:00.127209 SQPmp Socket connection successful: host = localhost, port = 18083, master socket = 804

    But I can't seem to connect to it from RemoteBox on the same Windows 10 system. I am consistently getting error:

    Error Dialog: Failed to Connect: Credentials are incorrect or the VirtualBox Web Service is not running at the specified URL. (http://localhost:18083)

    I have opened TCP port 18083 in my Windows Firewall, and I can connect to that URL in my browser:

    <?xml version="1.0" encoding="UTF-8"?>
    -<SOAP-ENV:Envelope xmlns:vbox="http://www.virtualbox.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    -<SOAP-ENV:Body>
    -<SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>HTTP GET method not implemented</faultstring>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    One thing I'm not sure of is the credentials to use. According to Task Manager the User that is running the "vboxwebsrv" process is "Larry", so that is what I've been trying to do. (Note that that is not what I use to login to Windows... I use my Microsoft email account; I've tried using it in RemoteBox too, but it doesn't work either.)

    Am I missing something?

    Thanks.

     
    • Larry Menard

      Larry Menard - 2016-02-22

      Update: I replaced "localhost" with "127.0.0.1" and it works.

      In my "hosts" file I see:

      # localhost name resolution is handled within DNS itself.
      #   127.0.0.1       localhost
      #   ::1             localhost
      

      Even after uncommenting the "127.0.0.1" entry, "localhost" doesn't work. (In fact, pinging "localhost" resolves to "::1", even though it is still commented.)

      Weird, but at least it works if I explicitly use "127.0.0.1".

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.