ITADN

Documentation of how to configure inter-node communcation ports is outdated

#2437Closedchwallen 创建于 2026-01-22
bug
C
chwallencommented
### Describe the bug The section on how to configure the inter-node communication port range (https://www.rabbitmq.com/docs/networking#distribution-port-range) states that the port ranges can be configured using `inet_dist_listen_min` and `inet_dist_listen_max` using the sysctl config format. Doing so will cause the RabbitMQ server to fail to start with the error message that the configuration keys are unknown. Additionally, the example configuration file specifies that this can only be set using the advanced syntax and references a removed section on how to do so (see https://github.com/rabbitmq/rabbitmq-server/blob/b9610cde2ab6abf0775dd581d1de160b7fc6db68/deps/rabbit/docs/rabbitmq.conf.example#L876-L879). I tried to do so in `advanced.config` via `[{kernel, [{inet_dist_listen_min, 9000}, {inet_dist_listen_max, 9010}]}].` but this also fails (I am not sure if this is the correct way though as the referenced section is gone). I did eventually find the correct sysctl format as `distribution.listener.port_range.min` and `distribution.listener.port_range.max` in this table: https://www.rabbitmq.com/docs/configure#config-items ### Reproduction steps N/A ### Expected behavior The section on how to configure inter-node communcation ports should be updated to reference the configuration keys `distribution.listener.port_range.min` and `distribution.listener.port_range.max`. Additionally, the example configuration file (https://github.com/rabbitmq/rabbitmq-server/blob/b9610cde2ab6abf0775dd581d1de160b7fc6db68/deps/rabbit/docs/rabbitmq.conf.example#L876-L879) should also reference these, use an updated link, and not state that these are only configurable via the classic format. ### Additional context RabbitMQ 4.2.2
关闭于 2026-01-22 5 条评论