How to run webservice for phpvbox ?

402 views
Skip to first unread message

Ali Muhammad

unread,
Jun 9, 2012, 1:59:44 PM6/9/12
to phpvbox-dev
i need help
i have xampp with windows 7. i have copied my vboxzip folder in xamp
vb folder . i browsed http://localhost/vb, login page appears . on
giving user name and password it prompt me an error thtat is "Could
not connect to host (http://127.0.0.1:18083/)
[message:protected] => Could not connect to host (http://
127.0.0.1:18083/)
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => C:\xampp\htdocs\vb\lib\vboxconnector.php
[line:protected] => 188


i explored and found that i dont hv webservice in my system which
enables system to run.
i dont know where from to pick webservice files and how to configure
it in windows 7 .

thanks in advance for the help

Anatoly Pashin

unread,
Jun 9, 2012, 11:32:39 PM6/9/12
to phpvb...@googlegroups.com
http://code.google.com/p/phpvirtualbox/wiki/Windows2008Service
or start manually.

2012/6/10 Ali Muhammad <aliniz...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Ali Muhammad

unread,
Jun 10, 2012, 11:34:56 AM6/10/12
to phpvb...@googlegroups.com
its ok but where from i get that file ? that exe that should give to service to run??

Anatoly Pashin

unread,
Jun 10, 2012, 8:34:55 PM6/10/12
to phpvb...@googlegroups.com
Program Script : browse to find an select vboxwebsrv (suppose to be in C:\Program Files\Oracle\VirtualBox
It installs with virtualbox and placed in it's folder. 

2012/6/11 Ali Muhammad <aliniz...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Ali Muhammad

unread,
Jun 11, 2012, 1:20:00 AM6/11/12
to phpvb...@googlegroups.com
thanks alot 
i did all put that exe file in my vb folder and run it . but still i am facing same issue of Could not connect to host 

Exception Object
(
    [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => C:\xampp\htdocs\vb\lib\vboxconnector.php
    [line:protected] => 188
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => C:\xampp\htdocs\vb\lib\auth\Builtin.php
                    [line] => 45
                    [function] => connect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => C:\xampp\htdocs\vb\lib\ajax.php
                    [line] => 119
                    [function] => login
                    [class] => phpvbAuthBuiltin
                    [type] => ->
                    [args] => Array
                        (
                            [0] => admin
                            [1] => admin
                        )

                )

        )

    [previous:Exception:private] => 
)

Anatoly Pashin

unread,
Jun 11, 2012, 2:02:51 AM6/11/12
to phpvb...@googlegroups.com
1. check if it binded port: win+r → cmd → netstat -an | find "18083"
2. check vboxwebsrv output when you log in — just run it from cmd

if 1) okays and in 2) you will notice something like
2011-01-19 17:48:57 [  1] New SOAP thread started
2011-01-19 17:48:57 [ P ] Request 2 on socket 524 queued for processing (2 items
 on Q)
2011-01-19 17:48:57 [  1] Processing connection from IP=127.0.0.1 socket=508 (0
out of 1 threads idle)
than follow http://code.google.com/p/phpvirtualbox/wiki/Installation#Windows_7_guide — create user, make password for it, set that name and password in config and start vboxwebsrv as that user 

2012/6/11 Ali Muhammad <aliniz...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Ali Muhammad

unread,
Jun 11, 2012, 2:32:04 AM6/11/12
to phpvb...@googlegroups.com
Dear anatoly.pashin
thanks alot for your copration
i check it , exe with name vboxwebsrv is running very fine and show the console. but when i follow user instruction i dont find any port 18083.  which means that webservice is not running.
know either my websrevice file is wrong or the way i am running it is not correct .
Can you please tell me the correct webserivce exe file where from i pick it ?
2ndly guide me the way to go across this error
thanks allot guru
regards

Ali Muhammad

unread,
Jun 11, 2012, 2:41:28 AM6/11/12
to phpvb...@googlegroups.com
THank alot 
i did that i was giving wrong user name and password

thankalot guru
regards


On Mon, Jun 11, 2012 at 5:34 AM, Anatoly Pashin <anatoly...@gmail.com> wrote:

Anatoly Pashin

unread,
Jun 11, 2012, 2:41:33 AM6/11/12
to phpvb...@googlegroups.com
Looks like you are online.
Could you please install teamviewer? I will connect and try to resolve this issue.

2012/6/11 Ali Muhammad <aliniz...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Anatoly Pashin

unread,
Jun 11, 2012, 2:42:38 AM6/11/12
to phpvb...@googlegroups.com
Good! If it's ok, forget about teamviewer.

2012/6/11 Ali Muhammad <aliniz...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Ali Muhammad

unread,
Jun 11, 2012, 2:44:57 AM6/11/12
to phpvb...@googlegroups.com
SIr
i was giving wrong user name and password
its running very fine now ,
i need to make some customization in it . i will used to custome encription methods to impliment some custom security.
does it support like cloud computing works .. if i deployed it on web server?
currently i am using it on my local machine
regards
Reply all
Reply to author
Forward
0 new messages