[rabbitmq-discuss] is it possible to have broker listen on multiple ports

Matthew Sackman matthew at lshift.net
Thu Dec 17 11:32:21 GMT 2009


Hi Mark,

On Thu, Nov 19, 2009 at 11:04:18AM -0700, Mark Geib wrote:
> Is is possible to somehow configure a rabbitmq broker to listen on
> multiple network ports.
> 
> I am running 1.6 and 1.7.

Just to let you know, the bug for this has just been QA+'d and merged
into the default branch. You can now in the rabbitmq.config file have
the following:

[{rabbit,
	[{tcp_listeners, [{"myhostname", 8787}, {"my.ip.ad.dy", 7676}]}]
 }].

and variations on that theme. Make sure you *don't* have env vars set
for either RABBITMQ_NODE_IP_ADDRESS or RABBITMQ_NODE_PORT.

Note that both hostnames (or fqdns) and IP addresses need to be
"quoted".

Best wishes,

Matthew




More information about the rabbitmq-discuss mailing list