[rabbitmq-discuss] running rabbitmq on a laptop

Matthew Sackman matthew at lshift.net
Sun Jan 10 12:55:17 GMT 2010


Hi Vishnu,

On Sun, Jan 10, 2010 at 09:38:41AM +0530, vishnu wrote:
> I've tried setting the RABBITMQ_NODENAME and RABBITMQ_NODE_IP_ADDRESS
> environment variables. But for some reason rabbitmq doesn't seem to honor
> them.
> I was hoping the key to this problem was getting rabbitmq to only listen on
> 127.0.0.1.

I assume you're using the latest from default (or the new persister),
and not v1.7.0.

I've just spotted a bug in the way we process the env vars which I'll
fix either later today or tomorrow. I don't think this bug existed in
1.7.0. You should be able to set NODENAME and NODE_IP_ADDRESS in
/etc/rabbitmq/rabbitmq.conf or in the env, but I can see that that's
currently broken.

However, provided you're using some version later than v1.7.0, you can
configure this in /etc/rabbitmq/rabbitmq.config with something like:

[{rabbit, [{tcp_listeners, [{"127.0.0.1", 5672}]}]}].

This is currently working (in fact, it was the changes to support this
that have broken the env var settings. Sigh).

Matthew




More information about the rabbitmq-discuss mailing list