[zeromq-dev] Fwd: Beginner question with respect to zmq_proxy

Andy Ballingall TF ballingall at thefoundry.co.uk
Thu Dec 27 17:45:23 CET 2012


... and

sudo service iptables start

restarts the firewall again, I should add!

On 27 December 2012 16:44, Andy Ballingall TF
<ballingall at thefoundry.co.uk> wrote:
> On 27 December 2012 16:16, Nishant Mittal <nmittal at rblt.com> wrote:
>> they are on the same network.. i can check if Ubuntu firewalls are playing a
>> role..
> The easiest thing to do (if safe to do so) would be to temporarily
> switch off the firewall entirely. If it starts working, then that's
> the reason! If you're using iptables, try:
>
> sudo service iptables stop
>
> ...on both machines. If the problem persists, (and your firewall is
> iptables), then the problem is elsewhere.
>
> Andy
>
>>
>>
>> On Thu, Dec 27, 2012 at 11:13 AM, Andy Ballingall TF
>> <ballingall at thefoundry.co.uk> wrote:
>>>
>>> Could it be a firewall issue?
>>>
>>> On 27 December 2012 16:03, Nishant Mittal <nmittal at rblt.com> wrote:
>>> > Apostolis, client knows how to resolve 'nishant' and the request is
>>> > actually
>>> > coming to the worker.. its the response thats not going back.
>>> > and i tried with IP as well, same result.
>>> >
>>> > thanks
>>> >
>>> >
>>> >
>>> > On Thu, Dec 27, 2012 at 10:36 AM, Apostolis Xekoukoulotakis
>>> > <xekoukou at gmail.com> wrote:
>>> >>
>>> >> How can the client know what "nishant" means? Put the ip address
>>> >> instead.
>>> >>
>>> >> 2012/12/26 Nishant Mittal <nmittal at rblt.com>
>>> >>>
>>> >>> Hi All,
>>> >>> I have a zmq_proxy device with ROUTER and DEALER in the front and back
>>> >>> (attached code broker.c)
>>> >>> router binds to tcp://*:5551 and dealer binds to tcp://*:6551
>>> >>> the client connects to router with a REQ socket as tcp://nishant:5551
>>> >>> and
>>> >>> worker connects to dealer with a REP socket as tcp://nishant:6551
>>> >>> where
>>> >>> nishant is the hostname of the machine..
>>> >>>
>>> >>> the above works fine
>>> >>>
>>> >>> however, if I move the client to another machine.. the worker sees the
>>> >>> request but the client doesn't get any response.. what am I doing
>>> >>> wrong?
>>> >>>
>>> >>> thanks in advance for your help.
>>> >>>
>>> >>> --
>>> >>> Nishant Mittal
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> zeromq-dev mailing list
>>> >>> zeromq-dev at lists.zeromq.org
>>> >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >> Sincerely yours,
>>> >>
>>> >>      Apostolis Xekoukoulotakis
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> zeromq-dev mailing list
>>> >> zeromq-dev at lists.zeromq.org
>>> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>> >>
>>> >
>>> >
>>> > _______________________________________________
>>> > zeromq-dev mailing list
>>> > zeromq-dev at lists.zeromq.org
>>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>> >
>>>
>>>
>>>
>>> --
>>> Andy Ballingall
>>> Senior Software Engineer
>>>
>>> The Foundry
>>> 6th Floor, The Communications Building,
>>> 48, Leicester Square,
>>> London, WC2H 7LT, UK
>>> Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
>>> Web: http://www.thefoundry.co.uk/
>>>
>>> The Foundry Visionmongers Ltd.
>>> Registered in England and Wales No: 4642027
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>>
>>
>> --
>> Nishant Mittal
>> Director, Product Development
>> Rosenblatt Securities Inc.
>> 20 Broad Street
>> New York, NY 10005
>>
>> Direct: 212-607-3159
>> Mobile: 646-504-2629
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
>
> --
> Andy Ballingall
> Senior Software Engineer
>
> The Foundry
> 6th Floor, The Communications Building,
> 48, Leicester Square,
> London, WC2H 7LT, UK
> Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
> Web: http://www.thefoundry.co.uk/
>
> The Foundry Visionmongers Ltd.
> Registered in England and Wales No: 4642027



--
Andy Ballingall
Senior Software Engineer

The Foundry
6th Floor, The Communications Building,
48, Leicester Square,
London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web: http://www.thefoundry.co.uk/

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027



More information about the zeromq-dev mailing list