I'm clustering rabbitmq through a firewall and made the following change to /usr/lib/rabbitmq/bin/rabbitmq-server so we can specify the ports erlang will use to do the cluster to cluster communication:<br><br> 35a36,37<br>
> RABBIT_LISTEN_MIN_DEFAULT=34567<br>> RABBIT_LISTEN_MAX_DEFAULT=34567<br>38c40,41<br>< -kernel inet_default_connect_options [{nodelay,true}]"<br>---<br>> -kernel inet_default_connect_options [{nodelay,true}] \<br>
> -kernel inet_dist_listen_min ${RABBIT_LISTEN_MIN:-$RABBIT_LISTEN_MIN_DEFAULT} inet_dist_listen_max ${RABBIT_LISTEN_MAX:-$RABBIT_LISTEN_MAX_DEFAULT}"<br><br>You can define RABBIT_LISTEN_MIN and RABBIT_LISTEN_MAX for your own custom ranges, might want to change the defaults too. I'm posting this in the hopes that it will either be useful to others or someone will show me a better way as I'm new to erlang/rabbitmq.<br>
<br><br><br>