Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed a Reddit Clone in an EC2 server and I am getting an error that says:

error connecting to amqp reddit @ localhost:5672 (IOError('Socket closed',))

As I checked using nmap on what ports were open and 5672, or the RabbitMQ port wasn't open. I tried restarting the rabbitmq-server already but to no success. I haven't touched any configuration files yet.

Is there anything I'm supposed to do before rabbitmq successfully listens to port 5672?

EDIT: I've solved my problem, I uninstalled RabbitMQ and installed it using the guide on the site Something might have been wrong in the installation script of reddit, that didnt work in my favor

share|improve this question

Try 15672 if you're on 3.0+ or 55672 if you're on an earlier version.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.