NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG Listener Blocking Port?


Joined: 02 Oct 2009
Posts: 1
Location: Marietta, GA
Reply with quote
Hi,

After some trial and error I've successfully debugged a remotely hosted web page. It's fantastic; however, after a debugging session, I find that quite frequently, if I try to debug again later I cannot - the debugger cannot establish a session. After much more trial and error, it seems that rebooting the machine with NuSphere PHPed and the Debug Listener installed on it usually resolves the problem. So, it would seem that there's a problem with the listener keeping the port blocked, preventing a new connection later. I've tried closing down the listener, using it's reset functions, but no help. I am considering trying doing an IPCONFIG /release and /renew instead of rebooting, but none of this seems like what should be necessary. I've experienced the same issue in two separate network environments and from two different PCs (work and home). Is this a limitation of the debugger or something that I may be doing incorrectly? I'd post my configuration, but it's an exact match to the recommended SSH tunnel configuration. Plus, it does work, just intermittently.

Thanks
View user's profileFind all posts by rayluckiSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
It depends on how your system is configured. In most (if not all) cases, there is a router between your machine and outside world. So if this router passes incoming connections on TCP/7869 to your machine, debugger will work. Otherwise it won't. Some (if not all) routers are comming with builtin firwalls which should be checked too. In some cases, people are using VPN to connect to the internet. In this case, VPN may come with firewall too.
To simplify the process, I'd recommend to try SSH tunnel which would connect your machine to the server directly. See the post in FAQ section on how to configure debugger to work through SSH tunnels.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG Listener Blocking Port?
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