title: Connecting to remote activemq instance running on docker container
body: <p>I have 2 docker containers, one running a spring app (in tomcat) and one running an active mq instance. When I try to connect to it from my spring app, I get the following error. Only activeMQ is running on the one container and the port is properly exposed. I verified the IP address of the docker container (shown below) and that is correct.</p>
  
  <p>I'm not sure what could be causing this error at this point. Any thoughts would be appreciated.</p>
  
  <blockquote>
    <blockquote>
      <p>ERROR [activemq.broker.BrokerService] Failed to start Apache ActiveMQ ([mybroker, ID:489af431756c-60313-1409695404227-0:1], java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://172.17.0.2:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Cannot assign requested address)</p>
    </blockquote>
  </blockquote>