RabbitMQ: Could not bind to dsitribution port
search cancel

RabbitMQ: Could not bind to dsitribution port

book

Article ID: 393354

calendar_today

Updated On: 04-07-2025

Products

VMware RabbitMQ VMware Tanzu RabbitMQ Pivotal RabbitMQ Support Only for OpenSource RabbitMQ

Issue/Introduction

2025-03-29 11:15:04.201896+00:00 [error] <0.132.0>
2025-03-29 11:15:04.201896+00:00 [error] <0.132.0> BOOT FAILED
2025-03-29 11:15:04.201896+00:00 [error] <0.132.0> ===========
2025-03-29 11:15:04.201896+00:00 [error] <0.132.0> ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@#####
2025-03-29 11:15:04.201896+00:00 [error] <0.132.0>
BOOT FAILED
===========

Environment

RabbitMQ OOS

Cause

It was due to the port is occupied by other RabbitMQ node or other process

Resolution

1. Try to stop the RabbitMQ node mentioned in the error, using rabbitmqctl stop -n command. 

2. Identify which process is using the port and kill it. 

sudo lsof -nP -iTCP -sTCP:LISTEN

kill 

3. Try to reboot the server and see if the wanted RabbitMQ process is up.