title: XDebug only works on localhost and not remote host
body: <p>I've installed xdebug on my raspberry pi with visual studio code and everything is working except that I can't use xdebug with a remote host.</p>
  
  <p>In php.ini and xdebug.ini and php.ini I have <code>xdebug.remote_connect_back = 1</code> however whenever I load the page from my personal computer I just get <code>listening for xdebug</code> in vs code.</p>
  
  <p>this is my configuration in php.ini</p>
  
  <pre><code>[Xdebug]
  zend_extension=/usr/lib/php/20180731/xdebug.so
  xdebug.remote_enable = 1
  xdebug.remote_autostart = 1
  xdebug.remote_connect_back = 1
  </code></pre>
  
  <p>and this is my configuration in xdebug.ini</p>
  
  <pre><code>zend_extension=/usr/lib/php/20180731/xdebug.so
  xdebug.remote_enable = 1
  xdebug.remote_autostart = 1
  xdebug.remote_handler = dbgp
  xdebug.remote_connect_back = 1
  xdebug.remote_log = /tmp/xdebug_remote.log
  xdebug.remote_mode = req
  xdebug.remote_port = 9000
  </code></pre>
  
  <p>It should work when I open the webpage on my computer but nothing happens. And there isn't even a log file in /tmp/.</p>