NuSphere Corporation
BUY ONLINE
Support Services
Overview
KB
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
Technical FAQ
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla Development
Learn PHP
<connection to the client ... not allowed messagePHP Debugger with SSH>
Last updated: Mon, 05 May 2008

Setting up php debugger communications on the same network

This is the set of instructions to troubleshoot and fix the communications between dbg - php debugger and PhpED - PHP IDE.

This is the set of instructions to follow if you are getting: PHP Debugging session failed to start with the message: "failed to connect to the client address <address>" described here
  • If you have firewall on the server (the machine where dbg php debugger is installed) please check the settings on that firewall and make sure that allows for outbound traffic on debugger port (by default it is TCP/7869 port). To check which port is used please look at PhpED's Tools->Settings->debugger->Debugger port. This setting is passed to the debugger at the time of the session start.
  • If you have a firewall on the client (the machine where PhpED - PHP IDE and DbgListener are installed) please check the settings on that firewall and make sure that it allows for inbound connections on DbgListener port (by default it is 7869). To check which port is used by DbgListener please look at PhpED's Tools->Settings->debugger->Debugger port. You can change the port settings using this user interface in PhpED as well.
Note: opening outgoing TCP ports on the firewall may weaken your server security! If you use DBG debugger on a public web server (e.g. available through the Internet) please consider using SSH daemon for debugging. In this case you don't need 7869 port to be opened at all.

Once you finished setting up the firewalls you can try to start the debugging session or check the communications again. You can make sure that communications between the server side debugger and PhpED are working by following these simple instructions.


<connection to the client ... not allowed messagePHP Debugger with SSH>
Last updated: Mon, 05 May 2008