[rabbitmq-discuss] RabbitMq server getting ConnectionTimedout
Michael Klishin
mklishin at gopivotal.com
Mon Jan 20 07:43:03 GMT 2014
On 19 Jan 2014, at 13:30, Arun Viswanath <arun.viswanath at gmail.com> wrote:
> My laptop is connected to my local lan so my laptop is having the IP Address: 192.168.2.2.
>
> But when I try to connect to the rabbitmq server (As a consumer) to the IP Address 192.168.2.2:(Default Non-ssl port) it is giving Connection TimedOut.
>
> Error during RabbitMq Server Setup : Connection timed out: connect
> java.net.ConnectException: Connection timed out: connect
> at java.net.DualStackPlainSocketImpl.connect0(Native Method)
> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
>
> Even my firewall is not running in my laptop.
>
> But I'm even able to connect with my "Public IP" and even with "localhost"
>
> Any help is really appreciable.
Try connecting with telnet first.
You can explicitly tell RabbitMQ what address to bind to
using RABBITMQ_NODE_IP_ADDRESS:
http://www.rabbitmq.com/man/rabbitmq-server.1.man.html
MK
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list