Docker - port prevents listening
<p>I am trying to setup xdebug integration on my docker-based setup.</p>

<ul>
<li>I am using Docker for Mac 1.12.0-rc2-beta17 with the "native" docker machine</li>
<li><p>I have a container, with xdebug installed, exposing port 9000 and mapping it to the port 9000:</p>

<pre><code>$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                      NAMES
6950c2a2b05d        app        "/usr/bin/supervisord"   9 minutes ago       Up 9 minutes        0.0.0.0:80-&gt;80/tcp, 0.0.0.0:443-&gt;443/tcp, 0.0.0.0:9000-&gt;9000/tcp, 0.0.0.0:2222-&gt;22/tcp   app_1
</code></pre></li>
<li><p>When I'm trying to use PhpStorm to listen to the port 9000 for debug connections, I'm getting an error "Cannot listen: port 9000 is busy".</p></li>
</ul>

<p>I must precise that I'm a newbie in networks..</p>