How can you use php xdebug if you are on NAT behind a firewall? -


i have following use case debugging php application:

  • the developer have private ip address
  • the developer can connect limited number of ports server, 80, 8080, 3128, others being limited outgoing firewall. still if outgoing requests http use proxy not have limitation.
  • the server machine configurable

is possible use xdebug in circumstance? how?

it possible establish vpn not easy solution prefer simplified one.

the solution found use putty forward port 9000 server client (ide).

putty configuration screenshot

just configure xdebug connect localhost instead of ip address client (ide) running on:

xdebug.remote_host = localhost xdebug.remote_port = 9000 xdebug.remote_connect_back = 0 

there a nice article called remote debugging php firewall in way describing , xdebug configuration , ssh port forwarding method.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -