title: How to open port 9000 on Windows 10 for Xdebug to work correctly?
body: <p>While testing in PhpStorm, I get the following error in the logs:</p>
  <pre><code>Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9000 (fallback through xdebug.client_host/xdebug.client_port)
  </code></pre>
  <p>Here is my Xdebug config in php.ini:</p>
  <pre><code>[XDebug]
  zend_extension = c:\localserver\php8.0.2\ext\php_xdebug-3.0.3-8.0-vs16-x86_64.dll
  xdebug.client_host=localhost
  xdebug.client_port=9000
  xdebug.discover_client_host=1
  xdebug.profiler_append=0
  xdebug.mode=debug
  xdebug.start_upon_error=yes
  xdebug.output_dir=&quot;c:\localserver\php8.0.2\temp&quot;
  xdebug.profiler_output_name=&quot;cachegrind.out.%t-%s&quot;
  xdebug.remote_handler=&quot;dbgp&quot;
  xdebug.idekey=&quot;netbeans-xdebug&quot;
  </code></pre>
  <p>Windows брандмауэр выключен.</p>
  <p>This error disappears when I configure XDebug to port 80</p>
  <p>But still, I want to properly configure XDebug, for this I need to open port 9000. Please tell me how to do this?</p>