[rabbitmq-discuss] Identifying TCP Listeners.
Matthias Radestock
matthias at rabbitmq.com
Mon Apr 16 15:45:37 BST 2012
Adam,
On 11/04/12 18:32, Adam Tauno Williams wrote:
> With -
> rabbitmq-server-2.8.1-1.suse.noarch
> erlang-R15B-2.1.i586
> - I can specify -
> {
> kernel, [ {inet_dist_use_interface, [ {"127.0.0.1"} ] } ]
> }
> - /etc/rabbitmq/rabbitmq.config and the server still starts, but it
> has no effect on how the epmd or beam.smp bind.
The above configuration is invalid. The entry should be
{kernel, [{inet_dist_use_interface, {127,0,0,1}}]}
The fact that rabbit started up fine suggests that it didn't read the
config at all. Check the broker start up log, which should contain the line
config file(s) : /etc/rabbitmq/rabbitmq.config
if the config was read.
Furthermore, to change the interface to which EPMD binds, you need to
set the ERL_EPMD_DIST_BIND environment variable, e.g.
export ERL_EPMD_DIST_BIND=172.0.0.1
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list