NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to connect to client


Joined: 23 Nov 2011
Posts: 2
Reply with quote
Not sure what I'm doing wrong. webserver is vm on ip 192.168.0.4. Everything goes fine till last step in setup wizard and I get the message cannot connect to client...


11/23/2011 4:04:01 PM Bound listener to "192.168.0.3" address
11/23/2011 4:04:01 PM Bound listener to "localhost" address
11/23/2011 4:04:02 PM Listener started
11/23/2011 4:05:48 PM Listener is stopped
11/23/2011 4:05:48 PM Adding UPnP port mapping
11/23/2011 4:05:48 PM Bound listener to "192.168.0.3" address
11/23/2011 4:05:48 PM Bound listener to "localhost" address
11/23/2011 4:05:48 PM Listener started
11/23/2011 4:05:48 PM Adding UPnP port mapping
11/23/2011 4:05:48 PM UPnP port mapping is added: 7869 -> 0.0.0.0:7869
11/23/2011 4:05:48 PM UPnP port mapping is added: 7869 -> 0.0.0.0:7869

DBG 4.2.11

Failed to start DBG session


Reason: failed to connect to the client at 192.168.0.3:7869, please make sure that IDE is running
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.


Debugger request: "408706733087200009;d=1,p=0,c=1"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.3.x"
Server API: "Apache 2.0 Handler"
Extensions API: "220090626"
Modules API: "20090626"
PHP API: "20090626"

_________________
ws
View user's profileFind all posts by Freewilly3dSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Just a quick guess, but is it a firewall issue and maybe port 7869 needs unblocking?
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
there are five things to check:
-Windows firewall
-3rd party firewall (sometimes bindled with anti-virus)
-VM connectivity (network settings).
-server firewall (for example iptables in case of unix/linux)
-Linux SE (in case of linux)

If first four things are tuned accordingly, telnet on the server (VM) will establish a connection:

telnet 192.168.0.3 7869

and dbglistener will show "client xx.xx.xx.xx connected"

Last thing - Linux SE can't be checked this way because it's what may distinguish dbg attempting to establish connection from telnet doing the same -- allowing latter and stopping former. To check LinuxSE you need a connection established from a php script or real debugger.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
suggested setup when using vmware


Joined: 23 Nov 2011
Posts: 2
Reply with quote
I have verified all the things you asked me to check and I can successfully telnet to the debugging listener from the vm.

11/28/2011 9:16:28 AM Starting the listener
11/28/2011 9:16:28 AM Bound listener to "192.168.0.3" address
11/28/2011 9:16:28 AM Bound listener to "localhost" address
11/28/2011 9:16:28 AM Listener started
11/28/2011 9:16:28 AM IDE "PhpED IDEVersion 6.2 (Build 6233eval)" attached
11/28/2011 9:27:01 AM 192.168.0.3 client connected
11/28/2011 9:27:31 AM 192.168.0.3, data fetch timeout, disconnecting
11/28/2011 9:27:32 AM 192.168.0.3 client disconnected
11/28/2011 10:20:22 AM 192.168.0.4 client connected


But I still get an error when I try from phped

the message I get is Failed to start debug session.
Please make sure the debugger module is installed on the server that corresponds to 192,168.0.4/sl/sl_main.php

and this in the phped window

Reason: failed to connect to the client at 192.168.0.3:7869, please make sure that IDE is running
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.


DBG 4.2.11

Failed to start DBG session


Reason: failed to connect to the client at 192.168.0.3:7869, please make sure that IDE is running
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.


Debugger request: "408754454368200014;d=1,p=0,c=1"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.3.x"
Server API: "Apache 2.0 Handler"
Extensions API: "220090626"
Modules API: "20090626"
PHP API: "20090626"





Is vmware networking getting in the way somehow?

_________________
ws
View user's profileFind all posts by Freewilly3dSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
do you run Linux on your VM?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Failed to connect to client
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic