title: Can't reach ActiveMQ Port on Docker from my host
body: <p>I have a docker Image base on Tomcat 7. My web application start a instance of ActiveMQ.
  To build the container I add the following configuration
  docker run .... -p 61616:61616 ...</p>
  
  <p>I can see the configuration on Docker Inspect command:</p>
  
  <pre><code>        "Ports": {
              "5005/tcp": [
                  {
                      "HostIp": "0.0.0.0",
                      "HostPort": "8091"
                  }
              ],
              "61616/tcp": [
                  {
                      "HostIp": "0.0.0.0",
                      "HostPort": "61616"
                  }
              ],
              "8080/tcp": [
                  {
                      "HostIp": "0.0.0.0",
                      "HostPort": "8090"
                  }
              ]
          },
  </code></pre>
  
  <p>Inside the container if I run:</p>
  
  <p>telnet localhost 61616</p>
  
  <p>i can connect to ActiveMQ instance:</p>
  
  <pre><code>Trying ::1...
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  ▒ActiveMQTcpNoDelayEnabledSizePrefixDisabled    CacheSizeStackTraceEnabled
                                                                            CacheEnabledTightEncodingEnabledMaxInactivityDurationu0 MaxInactivityDurationInitalDelay'
  </code></pre>
  
  <p>From my host I can't:</p>
  
  <pre><code>Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  Connection closed by foreign host.
  </code></pre>
  
  <p>I look for the port with netstat and is avaliable:</p>
  
  <p>netstat -nao </p>
  
  <pre><code>tcp6       0      0 :::61616                :::*                    LISTEN      26503/docker-proxy   off (0.00/0/0)    
  tcp6       0      0 :::8090                 :::*                    LISTEN      26511/docker-proxy   off (0.00/0/0)
  tcp6       0      0 :::8091                 :::*                    LISTEN      26519/docker-proxy   off (0.00/0/0)
  </code></pre>
  
  <p>If I try to telnet to the other port, I can connect.
  What I'm missing?</p>