Rabbitmq Server won't listen to 5672 in ipv4 after reboot

3,308 views
Skip to first unread message

Darren Wang

unread,
Apr 5, 2015, 5:35:50 AM4/5/15
to rabbitm...@googlegroups.com
Hi every one,

I encountered this problem when I was deploying OpenStack. Some of the services just can't get connected to rabbitmq-server.

I'm sure that rabbitmq-server is running and the userid/password in openstack config files are correct. I checked the status of port 5672 but to found that rabbitmq-server is not listening to port 5672 in IPV4, so how coud I solve this problem ?

# root@ISeR-Server1:~# netstat -ntlp | grep 5672
tcp        0      0 0.0.0.0:25672           0.0.0.0:*               LISTEN      7230/beam.smp
tcp6       0      0 :::5672                 :::*                    LISTEN      7230/beam.smp

Michael Klishin

unread,
Apr 5, 2015, 9:04:13 AM4/5/15
to Darren Wang, rabbitm...@googlegroups.com
What is in RabbitMQ log files?
Does the process have any file descriptors left for it to use? (rabbitmqctl status may be the easiest way to check this)

MK
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Apr 5, 2015, 4:33:29 PM4/5/15
to rabbitm...@googlegroups.com, Darren Wang
 On 5 April 2015 at 12:35:53, Darren Wang (darren....@gmail.com) wrote:
> I checked the status of port 5672 but to found that rabbitmq-server
> is not listening to port 5672 in IPV4, so how coud I solve this problem
> ?

I misunderstood the issue. RabbitMQ listens on all interfaces unless configured otherwise.

You can manually specify interfaces, see http://www.rabbitmq.com/configure.html:

 * RABBITMQ_NODE_IP_ADDRESS
 * tcp_listeners [1]

There could also be OS level changes that prevent RabbitMQ from binding to a socket. The most common
one is mentioned in Security and Ports on [2]

1. https://github.com/rabbitmq/rabbitmq-server/blob/master/docs/rabbitmq.config.example#L19-23
2. http://www.rabbitmq.com/install-debian.html
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Reply all
Reply to author
Forward
0 new messages