[rabbitmq-discuss] Connect two different servers

Ravi Pandey ravindrapandey1982 at gmail.com
Tue Jan 21 06:10:21 GMT 2014


Hi Sid,

Thanks. Your question solved my problem :)

The problem was my firewall block external connections.

Ravi


On Tue, Jan 21, 2014 at 11:16 AM, Ravi Pandey
<ravindrapandey1982 at gmail.com>wrote:

> 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.
>
> 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.
>
>
>
> On Tue, Jan 21, 2014 at 11:02 AM, Sid Young <sid.young at gmail.com> wrote:
>
>> 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?
>>
>> 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).....
>>
>>
>> On Tue, Jan 21, 2014 at 3:19 PM, Ravi Pandey <
>> ravindrapandey1982 at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> 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)
>>>
>>> What are the possible causes?
>>>
>>> Thanks,
>>> Ravi
>>>
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>>
>>>
>>
>>
>> --
>> Sid
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140121/acf19315/attachment.html>


More information about the rabbitmq-discuss mailing list