<div dir="ltr">Hi MK,<div><br></div><div>Thanks for your reply.</div><div><br></div><div>my rabbitmq log is showing the following,</div><div><br></div><div><div>=INFO REPORT==== 20-Jan-2014::20:57:55 ===</div><div>started TCP Listener on [::]:5672</div>
<div><br></div><div>=INFO REPORT==== 20-Jan-2014::20:57:55 ===</div><div>started TCP Listener on <a href="http://0.0.0.0:5672">0.0.0.0:5672</a></div><div><br></div><div>=INFO REPORT==== 20-Jan-2014::20:57:55 ===</div><div>
Server startup complete; 0 plugins started.</div></div><div><br></div><div><br></div><div>It seems it is binding to all interfaces but why i'm not able to connect.</div><div><br></div><div>Also I'm able to connect to rabbitmq when I connect to my office network with IP address (16.125.x.x) but I'm not able to connect to rabbitmq if I connect to my home router (via ether-net) which runs the DHCP server and giving 192.168.2.2 ip address to my laptop.</div>
<div><br></div><div>Also I'm not able to telnet to the rabbitMq machine even with both IP Addresses (16.125.x.x and 192.168.x.x)</div><div><br></div><div>Thanks In Advance</div><div><br></div><div>Regards,</div><div>Arun V</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 1:13 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 19 Jan 2014, at 13:30, Arun Viswanath <<a href="mailto:arun.viswanath@gmail.com">arun.viswanath@gmail.com</a>> wrote:<br>
<br>
> My laptop is connected to my local lan so my laptop is having the IP Address: 192.168.2.2.<br>
><br>
> 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.<br>
><br>
> Error during RabbitMq Server Setup : Connection timed out: connect<br>
> java.net.ConnectException: Connection timed out: connect<br>
> at java.net.DualStackPlainSocketImpl.connect0(Native Method)<br>
> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)<br>
> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)<br>
> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)<br>
> at java.net.AbstractPlainSocketImpl.connect(Unknown Source)<br>
><br>
> Even my firewall is not running in my laptop.<br>
><br>
> But I'm even able to connect with my "Public IP" and even with "localhost"<br>
><br>
> Any help is really appreciable.<br>
<br>
</div></div>Try connecting with telnet first.<br>
<br>
You can explicitly tell RabbitMQ what address to bind to<br>
using RABBITMQ_NODE_IP_ADDRESS:<br>
<br>
<a href="http://www.rabbitmq.com/man/rabbitmq-server.1.man.html" target="_blank">http://www.rabbitmq.com/man/rabbitmq-server.1.man.html</a><br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
</blockquote></div><br></div>