Fresh installation of RabbitMQ doesn't listen on port 5672 in Windows

After installing RabbitMQ (rabbitmq-server-3.6.0) and Erlang (esl-erlang_18.2-1-windows_i386) I am not able to see the port 5672 in list of listening ports in by netstat -an command but in task manager under services category I am able to see RabbitMQ with Running status.

After installing RabbitMQ I had created two environment variables. they are:

RABBITMQ_SERVICE to C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.0

and

RABBITMQ_BASE to C:\Program Files\RabbitMQ Server

Later I reinstalled Rabbitmq and Erlang but not from scratch as I was not able to delete files completely.

Is my server up? Or is my installation wrong? Or do I have to anything in excess.

I completely have no idea on it or what is going on.

Upvotes: 0

Views: 3263

Answers (2)

Shirish Bari
Shirish Bari

Reputation: 2722

I also faced the same issue. I have got right permissions to install software. Still while installing rabbit-mq it was giving an error Port 5672 is not listening

After more investigation, I found that there was already running process on this port. I ran below commands:

netstat -ano | findstr ":5672"

taskkill /F /PID 18644

This resolved my issue.

Upvotes: 0

yes, this was solved. I didn't have permission to install new software on my machine. Though it showed as installed successfully because of permission issues I was not able to use the tool. once permission issues got resolved everything was fine :).

Upvotes: 1

Related Questions