NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] connection to the client address is not allowed


Joined: 02 Oct 2007
Posts: 1
Location: Calgary, Alberta, Canada
Reply with quote
I have followed all of the documentation to get the dbg debugger working, and so far I can't get past this message in my PHP Ed Output window:

DBG 3.2.7

Failed to start DBG session

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

Debugger request: "393576386653600010@127.0.0.1;d=1,p=0,c=1"
Request found in: "query_string"
Target PHP version: "5.2.0"
Server API: "Apache 2.0 Handler"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"



I installed the debugger and it shows up in my phpinfo() page just fine.

I made the changes required in my PHPEd.

I set up an SSH tunnel on my client PC and tested it using the 'telnet localhost 7869' on the server which caused a connection back to my local PC as per the testing procedure.

My php.ini settings are:

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

I am not using ZEND at all. My server is CentOS and 64 bit, and I did get the 64 bit dbg.

Any help would be appreciated.

Thanks,

Craig
View user's profileFind all posts by claerosystemsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you use 127.0.0.1 in the debugger settings on the client side and localhost in the debugger settings on the server. Normally they should match and work good but in some cases some server are comming with broken configuration and either have no loopback adapter turned up or can't resolve localhost as 127.0.0.1 (no entry in the /etc/hosts).
To workaround, just change localhost to 127.0.0.1 in debugger.hosts_allow
and don't forget to check your server Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] connection to the client address is not allowed
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