NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
debugger.hosts_allow DNS name resolution

Joined: 28 Sep 2013
Posts: 68
Location: Pantin, IDF, France
Reply with quote

I would like to know how the PhpED debugger mananages its "debugger.hosts_allow" directive when there are domain names in its address list (rather than IPs)?

I tried to put a domain name there that normally resolves to my home, but if I use "DebugBreak" and run the script, I get the following error:
DBG 7.5.15
Failed to start DBG session
Reason: connection to the client at clienthost (<my ip address>) is not allowed in php configuration (php.ini)
Not sure what it means? Visit for troubleshooting.

Debugger request: "(null)"
Request found in: "(null)"
Target PHP version: "5.4.x"
Server API: "Command Line Interface"
Extensions API: "220100525"
Modules API: "20100525"
PHP API: "20100412"

However, if I put the actual corresponding IP in this debugger.hosts_allow directive, it works perfectly, and yet, the domain name that I tried before resolves to the same IP address (at least using ping on the server).

This is very not practical as this IP address is dynamically allocated, so it is expected to change frequently.
I would very like being able to use the dynamically set DNS domain name that I have set up instead.


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

Joined: 13 Jul 2003
Posts: 8239
Reply with quote
for remote debugging I recommend to set debugger.hosts_allow= ::1 and use ssh port forwarding (tunnel)

The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
debugger.hosts_allow DNS name resolution
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