IPv4+IPv6 bind address

19 views
Skip to first unread message

dario_arg

unread,
Sep 12, 2022, 2:20:35 PM9/12/22
to rabbitmq-discuss
Hi Everyone.
I am deploying Rabbit on a Ubuntu 20.04 customer environment. I dont have control of the Network setup so I would like Rabbit to bind itself to IPv4 (0.0.0.0) and IPv6 (::).

I've setup the rabbitmq.conf this way

{heartbeat, 20},
{tcp_listeners, []},
{ssl_listeners, [{"0.0.0.0", 5671}, {"::", 5671}]},

but It is only binding to the first element (IPv6 in this case).
Is there any option to force to bind to both addresses? I was able to do it by setting the /proc/sys/net/ipv6/bindv6only to 1 but I am not controlling that setup.

Regards
Reply all
Reply to author
Forward
0 new messages