<div dir="ltr">Hi Sid,<div><br></div><div>Thanks. Your question solved my problem :)</div><div><br></div><div>The problem was my firewall block external connections.</div><div><br></div><div>Ravi</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 11:16 AM, Ravi Pandey <span dir="ltr"><<a href="mailto:ravindrapandey1982@gmail.com" target="_blank">ravindrapandey1982@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I am using IP address and yes i can ping each host from the other. I did the basic network trouble shooting like ping, route etc and i can also call API's from each other's host.<div><br></div><div>
Yes i specifically need 2 different servers as i have many third party API's which calls my application from one server and other server passes the info to that server. So i assume consumer on one server and publisher on other server works fine.</div>

<div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 11:02 AM, Sid Young <span dir="ltr"><<a href="mailto:sid.young@gmail.com" target="_blank">sid.young@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Are you using an IP address or FQDN?? can you ping each host from the other? Have you done any basic network trouble shooting before psoting? If so what did you do and what did you get?<div>

<br></div><div>And..... Do you specifically need 2 servers? You do realise the publisher and consumer can be on the server or remote to the server(s).....</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Jan 21, 2014 at 3:19 PM, Ravi Pandey <span dir="ltr"><<a href="mailto:ravindrapandey1982@gmail.com" target="_blank">ravindrapandey1982@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I have installed RabbitMQ on 2 different server ( having different IP address ). Now i want one to behave like publisher and other want to behave like consumer but when i connect using TCP socket 5672 it says - PHP Warning: �stream_socket_client(): unable to connect to tcp://xx.xx.xx.xx:5672 (No route to host)</div>



<div><br></div><div>What are the possible causes?</div><div><br></div><div>Thanks,</div><div>Ravi</div></div>
<br></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Sid</font></span></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>