Open iqolome opened 3 months ago
RabbitMQ Management Plugin Listening on Dual Stack (Both IPv4 and IPv6) Interfaces
RabbitMQ 3.9.x is out of support. Please check https://www.rabbitmq.com/release-information
@dcorbacho I re-opened and edited the issue title because the actual issue is more generic, and still affects RabbitMQ.
Currently, it is not possible to specify multiple TCP or TLS listeners for the management HTTP server. This is the first time I've seen this issue brought up.
cc @michaelklishin @mkuratczyk because you two may have input.
Related issues:
@lukebakken a quick test suggests that the HTTP API listener is different from the rest in a few ways, for example, it only listens on IPv4 interfaces by default while others listen on IPv6 (I suspect it's both stacks but lsof -p
lists it as IPv6).
I do not recall this being a common request from paying customers or regular contributors, a much more common request is "please make sure everything works in IPv6-only environments", like we have seen for peer discovery recently.
Changing rabbitmq.conf
schema one more time — and it is already complex and supports a couple of legacy formats — for the HTTP API sounds like a non-trivial hassle for little gain.
But what likely can be done relatively easily is listening on all interfaces (for both stacks)
while retaining the ability to override the port.
Whoops, 2526 must have been in my clipboard. I've edited my comment.
Describe the bug
It is not possible to enable both IPv4 and IPV6 listening at 15671
Version
rabbitmq-server 3.9.13
Reproduction steps
fail 2 startup fail
fail 3 startup fail
fail 4 only ipv4
fail 5 only ipv6
Expected behavior
RabbitMQ Management Plugin Listening on Dual Stack (Both IPv4 and IPv6) Interfaces
Additional context
No response