[rabbitmq-discuss] I'd like rabbitmq to be able to pick its own port(s)

Matthias Radestock matthias at lshift.net
Wed Oct 22 12:00:01 BST 2008


Paul,

Paul Jones wrote:
> I haven't tried this, so it may not work, but have you tried configuring 
> Rabbit to use a port of 0? When using socket apis directly, I seem to 
> recall that is how you ask it to assign you a free port, and doing this 
> from a config level may just work...

This does indeed work, at least under Debian. Unfortunately we didn't 
anticipate this case when writing the code that logs the listening ip & 
port in rabbit.log - it displays the port as '0' even though it's 
actually listening on a different port. I have filed a bug to get that 
fixed.

Matthias.




More information about the rabbitmq-discuss mailing list