Ok, thank you Le 7 mars 2012 19:37, "Klaus Espenlaub" <[email protected]> a écrit : > > On 07.03.2012 17:56, Johan Roussay wrote: > > So, I have my web server wich contain the API code, its IP is 10.21.2.81. > > I try to access to a vboxwebsrv instance running on a machine A with the IP 10.21.2.71. > > I launch vboxwebsrv on A with the option --host 10.21.2.81 (or in the /etc/default/virtualbox, I guess it's the same). > > Then from the web server I try, without success, to connect to 10.21.2.71:18083 > > Misunderstanding obviously... with --host you must specify the IP > address of the system where vboxwebsrv is running, in your case 10.21.2.71. > > It's the wrong place to discuss the details of how the network API in > most of today's OSes is ticking, and vboxwebsrv isn't different from the > other pieces of software which deal with network traffic. > > In general, if you want the webservice to accept connections on all > interfaces, you can also specify 0.0.0.0. > > Klaus > > > > > Le 7 mars 2012 à 17:15, Frank Mehnert a écrit : > > > >> Hmm, if you set VBOXWEB_HOST in /etc/default/virtualbox then the > >> '-H' parameter is passed to vboxwebsrv which is equivalent to '--host'. > >> > >> Frank > >> > >> On Wednesday 07 March 2012 16:52:27 Johan Roussay wrote: > >>> Sorry ! > >>> > >>> vboxwebsrv --host 10.10.10.10 > >>> > >>> It looks like not to read the conf file ... > >>> > >>> Le 7 mars 2012 à 16:34, Frank Mehnert a écrit : > >>>> PLEASE, > >>>> > >>>> could you reply to the mailing list and not directly to me? Thank you! > >>>> Which exact host IP option did you specify when it failed? > >>>> > >>>> Frank > >>>> > >>>> On Wednesday 07 March 2012 16:28:19 Johan Roussay wrote: > >>>>> Hi Frank, > >>>>> IP I specified is the web server with witch I try to connect. But when > >>>>> I launch vboxwebsrv I have the following output : Socket connection > >>>>> successful: host = default (localhost), … > >>>>> > >>>>> When i specify the host option in the command line, it says : > >>>>> ###SAUP FAULT : Cannot assign request address [SAUP-ENV:Server] > >>>>> > >>>>> Le 7 mars 2012 à 16:05, Frank Mehnert a écrit : > >>>>>> Hi Johan, > >>>>>> > >>>>>> On Wednesday 07 March 2012 15:40:44 Johan ROUSSAY wrote: > >>>>>>> Dear all, > >>>>>>> I am trying to connect to the virtualbox webservice (vboxwebsrv) on a > >>>>>>> remote server with the java api. The problem is that the connection is > >>>>>>> refused (same with a web browser). The connection works locally > >>>>>>> (localhost: 18083 send me the xml). > >>>>>>> > >>>>>>> I edited /etc/default/virtualbox on remote machines like this: > >>>>>>> VBOXWEB_USER=user group virtualbox > >>>>>>> VBOXWEB_HOST=ip of the computer that I want to access virtualbox > >>>>>>> > >>>>>>> I'm on a debian, without firewall ... > >>>>>>> > >>>>>>> Any idea? > >>>>>> > >>>>>> are you sure that you specified the correct IP, that is, the one > >>>>>> which you are trying to connect to from the remote host? By default, > >>>>>> the webservice server binds to localhost but the VBOXWEB_HOST > >>>>>> parameter should make this work for remote connections ... > >>>>>> > >>>>>> Kind regards, > >>>>>> > >>>>>> Frank > >>> > >>> _______________________________________________ > >>> vbox-dev mailing list > >>> [email protected] > >>> https://www.virtualbox.org/mailman/listinfo/vbox-dev > >> > >> -- > >> Dr.-Ing. Frank Mehnert > >> Senior Manager Software Development Desktop Virtualization, VirtualBox > >> ORACLE Deutschland B.V.& Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany > >> > >> Hauptverwaltung: Riesstr. 25, D-80992 München > >> Registergericht: Amtsgericht München, HRA 95603 > >> > >> Komplementärin: ORACLE Deutschland Verwaltung B.V. > >> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > >> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > >> Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven > >> _______________________________________________ > >> vbox-dev mailing list > >> [email protected] > >> https://www.virtualbox.org/mailman/listinfo/vbox-dev > > > > > > _______________________________________________ > > vbox-dev mailing list > > [email protected] > > https://www.virtualbox.org/mailman/listinfo/vbox-dev > > > -- > Oracle <http://www.oracle.com> > Dr. Klaus Espenlaub | Snr. Manager Software Development Desktop > Virtualization > Phone: +49 7151 60405 205 <tel:+49715160405205> > Oracle VM VirtualBox > > ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 München > Registergericht: Amtsgericht München, HRA 95603 > Geschäftsführer: Jürgen Kunz > > Komplementärin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher > > Green Oracle <http://www.oracle.com/commitment> Oracle is committed to > developing practices and products that help protect the environment > > > _______________________________________________ > vbox-dev mailing list > [email protected] > https://www.virtualbox.org/mailman/listinfo/vbox-dev
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
