title: PHP remote debugging: XDebug can't connect to JetBrains php Storm client
body: <p>i's like to get remote debugging to work with the following software configuration:</p>
  
  <p>Win 7 Pro 64bit
  WAMP Server 2.2 (32bit) incl. Apache 2.2.22, PHP 5.4.3, XDebug php_xdebug-2.2.1-5.4-vc9.dll
  JetBrains PHPStorm 4.0.3</p>
  
  <p>1.) WAMP is up and running, my site can be found under localhost/fox/</p>
  
  <p>2.) PHP Storm has a project where there is a mapping between my sourcefiles and the apache alias localhost/fox</p>
  
  <p>2.) I installed the php extension XDebug and added the following lines to my php.ini</p>
  
  <pre><code>[xdebug]
  zend_extension="c:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.1-5.4-vc9.dll"
  xdebug.remote_enable=On
  xdebug.remote_host="localhost"
  xdebug.remote_port=9000
  xdebug.remote_connect_back=On
  xdebug.remote_autostart=On
  xdebug.profiler_enable=On
  xdebug.profiler_enable_trigger=off
  xdebug.profiler_output_name=cachegrind.out.%t.%p
  xdebug.profiler_output_dir="c:/wamp/tmp"
  xdebug.remote_log="C:/wamp/tmp/xdebug.log"
  xdebug.remote_cookie_expire_time=6000
  </code></pre>
  
  <p>This should configure the Remote Debugging XDebug and the call back address. </p>
  
  <p>I check already my installation here: xdebug.org/wizard.php </p>
  
  <p>3.) I configured phpstorm, first i added the local server</p>
  
  <p>and then checked my settings here</p>
  
  <p><a href="http://www.bilder-hochladen.net/files/jrn0-2-c81e-jpg-nb.html">http://www.bilder-hochladen.net/files/jrn0-2-c81e-jpg-nb.html</a></p>
  
  <p>( i tried 127.0.0.1/fox as Server address as well, and localhost instead)</p>
  
  <p>hier my debug settings: 
  <a href="http://www.bilder-hochladen.net/files/jrn0-1-c4ca-jpg.html">http://www.bilder-hochladen.net/files/jrn0-1-c4ca-jpg.html</a></p>
  
  <p>Now i restart my apache, i go into phpstorm, set a break point (it is red), click the function </p>
  
  <pre><code>Run  -&gt; Start listen to PHP Debug Connections
  </code></pre>
  
  <p>The telephone receiver is turing into green, what ever that exactly could mean but it's a positiv signal to me.</p>
  
  <p>When I now run my php Script on the local webserver absolutley nothing happens, the programm runs over the break point and does not stop.</p>
  
  <p>In the Xdebuggers log (C:/wamp/tmp/xdebug.log) i find loads of these messages like these:</p>
  
  <pre><code> I: Checking remote connect back address.
   I: Remote address found, connecting to ::1:9000.
   E: Could not connect to client. :-(
   Log closed at 2012-07-19 14:21:08
  </code></pre>
  
  <p>Somewhere in the internet i found the hint, that the windows firewall could block the communication so i turned it off completley but that did not help.</p>
  
  <p>I also tried to connect via telnet to localhost:9000 and i got a response from phpstorm. </p>
  
  <p>Has anybody an idea where to search the error or what else i could try to get this stuff working ?</p>
  
  <p>Thank you very much for your help in advance, 
  Michael</p>
  
  <p>p.s. Sorry i am not allowed to post more than two links because I am new here, so therefor no hyperlink to the xdebug wizard.</p>