NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] failed to connect to the client address


Joined: 18 May 2007
Posts: 5
Reply with quote
Hi!

Well the question is how should i configure the whole debug system?

I use PHPed pro 5.0 (DBG 3.1.11), remote FreeBSD server with Apache 1.3.34 and PHP 4.4.2, ftp & mysql through the tunnel (bitvise). Under Vista (if it's matters).
Server settings are:
hosts_allow=localhost
port=7869, 10000/16

Tunnel settings (example):
-ftp-to-sftp bridge: localhost:1234
-port forrwarding(Client2Server): 3306-> 53306

PHPed settings (for project):
-ftp: 127.0.0.1:1234

for debug:
-debug port: 7869
-debug host: localhost

mapping is correct.

So when i start debug i see this message:
DBG 3.1.11

Failed to run DBG session


Reason: failed to connect to the client address 127.0.0.1:7869
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.


Debugger request: "392206091556400002@localhost;d=1,p=0,c=1"
Request found in: "query_string"
Target PHP version: "4.4.2"
Server API: "Apache"
Extensions API: "20050606"
Modules API: "20020429"
PHP API: "20020918"

It must be much easyer with straight connection, but i didn't use debugger before so excuse me if the quesion is to stupid Smile

P.S: there is no Zend Engine things in php.ini and on the server.
View user's profileFind all posts by ViceChildSend private messageICQ Number
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
It sounds like your SSH tunnel is not running - could you please follow the troubleshooting advise here: http://forum.nusphere.com/tip-troubleshooting-debugger-communications-ssh-t581.html ? Thanks!
View user's profileFind all posts by yfaktorSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
Indeed there are no other reasons for " failed to connect to the client address 127.0.0.1:7869 " to happen. If you start an ssh tunnel running with -R, it opens listening socket on the server side and it will accept connections. Because localhost:7869 is specified in the tunnel options, the listening socket is bound to localhost only. Please check if a) direction of the tunnel is correct (-R instead of -L option in terms of openssh), and both ends are operating on localhost:7869 address/port

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 May 2007
Posts: 5
Reply with quote
yfaktor wrote:
It sounds like your SSH tunnel is not running - could you please follow the troubleshooting advise here: http://forum.nusphere.com/tip-troubleshooting-debugger-communications-ssh-t581.html ? Thanks!



2yfaktor: Sounds like some instruction for idiots "If your TV doesn't work make shure that power cable is connected...", if you're trying to help someone you should suggest something more useful then such a cliche. But great thanks for the link. that was realy useful.

2dmitri: now that what i call support!!! thanks for attention. works great. nusphere - the best!!!
View user's profileFind all posts by ViceChildSend private messageICQ Number
[resolved] failed to connect to the client address
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