How do I instruct the RabbitMQ processes (epmd
and beam.smp
) to listen only to the loopback interface (127.0.0.1
)?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You sure can - edit your /etc/rabbitmq/rabbitmq.conf and add the line:
NODE_IP_ADDRESS=127.0.0.1
you also probably want to add:
NODENAME=rabbit@localhost
which will set your node to listen on localhost.