Random port listening on 0.0.0.0 for tcp transport
When I start up an activemq broker, besides listening on the configured ports of 61616 and 8161 it is also listening on a random port. My problem is that I can not find out how to configure the interface that it should listen on. It listens on 0.0.0.0 which is not acceptable for my company's security policies.
Re: Random port listening on 0.0.0.0 for tcp transport
Thanks pheitman. You already helped me figuring out what the hell is opening this random port on 0.0.0.0. After I stopped the application port gets closed.
Have you been able to figure out how to solve this?
This looks little strange together with TcpTransportFactory.createTransport(location,wireformat) method that is parsing the connection string.
Anyway, I expected this to finally work but still nothing. Now when there is a localAddress TcpTransport.connect() tries to bind socket to port instead of opening connection. This causes JVM_BIND address already in use.
To me it looks like this can't be done. I would appreciate any help with this 'unusual' local setup.