Random port listening on for tcp transport

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Random port listening on 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 which is not acceptable for my company's security policies.

Note that according to IBM Ports used by activemq in HPC - United States,

"c. Any random port like 37551, 35134 etc. : This port is used to communicate with already connected clients."

Can someone tell me how to restrict this port to a particular IP address? Or at least point to where in the code the socket is getting created? Thank you.