|
|
 |
|
|
PHP Debugging session failed to start with the message: "failed to connect to the client address <address>"
This is the set of instructions to troubleshoot and fix the communications between dbg - php debugger and PhpED - PHP IDE.
Why am I seeing this message?
You may see this message if the server side dbg module can not communicate to the machine with PhpED. This may happen due to several reasons:
- Firewall on the dbg server or on the client PhpED machine or on both is not allowing the communications to go through
- There a network router between the client PhpED machine and the server and this router does not forward debugger connection to the IDE
What can I do to troubleshoot this issue?
To check the communication between dbg and PhpED,
- If dbg and PhpED are installed on the same network or there is no SSH tunneling setup between their machines please follow the instructions here
- If dbg and PhpED are installed on the different networks and there is SSH tunneling setup between their machines please follow the instructions here
How do I fix it?
In most cases the problem is caused by firewalls that by default block communications on all ports and for
most applications. So you need to configure them:
- allow dbglistener.exe to receive inbound connections on tcp/7869 port on your development machine
- allow debuger module to establish outbound connections on tcp/7869 port on your server.
- you may also want to check instructions on how to setup remote debugging
I think I fixed it. How do I make sure that it is working?
You can try to start the debugging session again or follow the troubleshooting instructions:
- If dbg and PhpED are installed on the same network or there is no SSH tunneling setup between their machines please follow the instructions here
- If dbg and PhpED are installed on the different networks and there is SSH tunneling setup between their machines please follow the instructions here
|
|
|  |
|