dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

Could not connect to host (http://127.0.0.1:18083/) #645

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Hi,

I am using the WAMP server for phpvitualbox. When i enabled the php_soap.dll 
its giving error message. "Could not connect to host (http://127.0.0.1:18083/)"

any one helps

Regards
Manjunath

Original issue reported on code.google.com by manjunat...@gmail.com on 5 Dec 2012 at 5:09

GoogleCodeExporter commented 8 years ago
The same problem here it says "Could not connect to host 
(http://127.0.0.1:18083/)"

and when i click on details i get this message:

Exception Object
(
    [message:protected] => Could not connect to host (http://127.0.0.1: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] => 
)

I am running phpvirtualbox 4.2-4 on Ubuntu server 12.04 LTS 64bit. I have LAMP 
installed on it.

I tried to find out how to fix this. but nothing helped.

Original comment by mohammed...@gmail.com on 8 Jan 2013 at 9:00

GoogleCodeExporter commented 8 years ago
I have fixed this problem. the problem was that the vboxwebsrv didn't run yet. 
To get this running in ubuntu just type this in your terminal: vboxwebsrv > nul

After it has restarted please refresh your website.

Hope that i helped you out of this one.

Original comment by mohammed...@gmail.com on 8 Jan 2013 at 10:45

GoogleCodeExporter commented 8 years ago
When i am loging getting the "Error login in to vboxwebsrv", installed in 
windows 7. Can any one help me.
error is
error

Exception Object
(
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => C:\wamp\www\phpvirtualbox\lib\ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
        (
        )

    [previous:Exception:private] => 
    [xdebug_message] => <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Exception: Error logging in to vboxwebsrv. in C:\wamp\www\phpvirtualbox\lib\ajax.php on line <i>128</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' 
bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th 
align='left' bgcolor='#eeeeec'>Function</th><th align='left' 
bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' 
align='center'>0.0024</td><td bgcolor='#eeeeec' align='right'>183760</td><td 
bgcolor='#eeeeec'>{main}(  )</td><td 
title='C:\wamp\www\phpvirtualbox\lib\ajax.php' 
bgcolor='#eeeeec'>..\ajax.php:0</td></tr>

Original comment by manjunat...@gmail.com on 15 Jan 2013 at 10:52

GoogleCodeExporter commented 8 years ago
the command above works, but every time it is entered the cursor blinks but I 
get no :~$ for new commands.  if I ctl+c to get back to the prompt it closes 
the vboxwebsrv &...no web access.  My solution was to alt+f2 to the 2nd 
terminal & run it there so I can still do what I need to on f1.  any 
suggestions?
Thanks & sorry if this is an easy solution I should know the answer to.  I am 
very new to linux

Original comment by StephenW...@gmail.com on 2 Jul 2013 at 12:09

GoogleCodeExporter commented 8 years ago
Hello,

What you've described is the only solution. Or you can background vboxwebsrv 
like so:

vboxwebsrv >nul &

Original comment by imooreya...@gmail.com on 11 Jul 2013 at 3:53

GoogleCodeExporter commented 8 years ago
As part of the migration to sourceforge, best (and most recent) answer for this 
issue is now here --

http://sourceforge.net/p/phpvirtualbox/wiki/vboxweb-service%20Configuration%20in
%20Linux/

...just make sure the logfile configuration item points to a location that your 
VBOX user has access to.  ;)

Original comment by greg...@gmail.com on 8 Nov 2013 at 12:28

GoogleCodeExporter commented 8 years ago
mohammed...@gmail.com - the "vboxwebsrv >nul" recommendation fixed the problem 
immediately.  Thanks!

Original comment by toby.ja...@gmail.com on 7 Dec 2013 at 5:33

GoogleCodeExporter commented 8 years ago
Hi, 

This problem was reported to be an issue on a Windows platform. If you're 
having an issue with a Linux platform, please refrain from posting "solutions" 
in this thread. It's highly confusing! Start a new thread for Linux or add to 
another existing thread.

I'm having the same issue on Windows 8 in combination with WAMP server. Is 
there any solution? Does anyone know how to fix this?

SOAP has been enabled in the php.ini file but when logging in it complains that:
(Could not connect to host (http://127.0.0.1:18083/)
Exception Object
(
    [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => C:\wamp\www\vbox\lib\ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
        (
        )

    [previous:Exception:private] => 
    [xdebug_message] => <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Exception: Could not connect to host (http://127.0.0.1:18083/) in C:\wamp\www\vbox\lib\ajax.php on line <i>128</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' 
bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th 
align='left' bgcolor='#eeeeec'>Function</th><th align='left' 
bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' 
align='center'>0.0004</td><td bgcolor='#eeeeec' align='right'>318672</td><td 
bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\vbox\lib\ajax.php' 
bgcolor='#eeeeec'>..\ajax.php:0</td></tr>

)

Original comment by jan.rubb...@gmail.com on 11 Jan 2014 at 4:41