Can't reach ActiveMQ Port on Docker from my host

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 …

I can see the configuration on Docker Inspect command:

  • Docker volume access from host
  • How to partition web application in Docker
  • Inside a Docker Container: “Error: cannot open display: localhost:11.0”
  • Docker images proxy server (private docker registry) using Nexus OSS and reusing its dependency images
  • Docker compose share environment variables
  • How to enable docker remote API in “Docker for Windows”
  •         "Ports": {
                "5005/tcp": [
                        "HostIp": "",
                        "HostPort": "8091"
                "61616/tcp": [
                        "HostIp": "",
                        "HostPort": "61616"
                "8080/tcp": [
                        "HostIp": "",
                        "HostPort": "8090"

    Inside the container if I run:

    telnet localhost 61616

    i can connect to ActiveMQ instance:

    Trying ::1...
    Connected to localhost.
    Escape character is '^]'.
    â–’ActiveMQTcpNoDelayEnabledSizePrefixDisabled    CacheSizeStackTraceEnabled
                                                                              CacheEnabledTightEncodingEnabledMaxInactivityDurationu0 MaxInactivityDurationInitalDelay'

    From my host I can’t:

    Trying ::1...
    Connected to localhost.
    Escape character is '^]'.
    Connection closed by foreign host.

    I look for the port with netstat and is avaliable:

    netstat -nao

    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)

    If I try to telnet to the other port, I can connect.
    What I’m missing?

  • Docker create a test machine
  • Can't figure out how I have to build my Docker architecture
  • Change chmod of dir from volume
  • get the url to connect to marathon app via jdbc
  • How to add Alpine Linux repositories when their domain is expired?
  • Can't login to docker with aws
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.