amqp - RabbitMQ cannot establish TCP connection to any configured hosts -


i trying run amqp bunny , event machine. whenever try use worker, bunny complains following: could not establish tcp connection of configured hosts

i don't see port 5672 anywhere when run netstat. further, output of nmap -p 5672 0.0.0.0 gives following:

nmap scan report 0.0.0.0 host (0.000092s latency). port     state  service 5672/tcp closed amqp 

my configuration file ($home/etc/rabbitmq/rabbitmq.config follows:

[{mnesia, [{dump_log_write_threshold, 1000}]},     {rabbit, [{tcp_listeners, [5672]},     {cluster_nodes, {['rabbit@jordan-dev'], disc}} ]}]. 

could explain me why rabbitmq can not connect tcp port specified in configuration file?

is firewall configured properly?

try telnet ip port machine see if it's reachable. if it's not reachable add firewall rule.

iptables -a input -p tcp --dport 5672 -j accept iptables -a output -p tcp --dport 5672 -j accept 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -