[rabbitmq-discuss] Reconnect to RabbitMQ broker

Simon MacMullen simon at rabbitmq.com
Wed May 16 10:46:19 BST 2012

On 15/05/12 20:51, Y Latrous wrote:
> I'm having a similar issue described in this post. In my case, I'm
> getting "Connection refused" all the time. I use the same host and port
> number (and had to set the timeout to a minute) but the call to
> newConnection() on the factory always returns with "Connection refused".
> The log from the server do not indicate anything specific to this
> connection.
> Any hint where to look?

Well, "connection refused" means you are connecting to something that 
does not have port 5672 open. So either your broker is not running, or 
you are not connecting where you think you are.

Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list