[zeromq-dev] Problems using a linux server with a windows client [REP/REQ]

Edwin van den Oetelaar edwin at oetelaar.com
Sun Aug 10 13:18:03 CEST 2014

Hello Sebastiaan,

I would try to verify that the windows machine allows for the connection at
Maybe you can try to use telnet to connect to the 5555 port on the server
and assert that no firewall is blocking your connection?
Second, you could install wireshark and see if messages are moved over the

Good luck,
Edwin van den Oetelaar

On Sun, Aug 10, 2014 at 12:57 PM, Sebastiaan Haffert <
sebastiaanhaffert at gmail.com> wrote:

> Hello ZeroMQ community,
> I am trying to send messages from a windows client to a linux server using
> the REQ/REP pattern with ZeroMQ. The server side code is the hwserver.cpp
> <https://github.com/imatix/zguide/blob/master/examples/C%2B%2B/hwserver.cpp>
> code from the examples of the 0MQ guide. And for the client side I also use
> the example code hwclient.cpp
> <https://github.com/imatix/zguide/blob/master/examples/C%2B%2B/hwclient.cpp>
> .
> Now the problem at hand is the following. If I use a Linux server and
> client I am able to send messages, receive them and send a reply back which
> is also received. When the server and client are both run in Windows I also
> can receive and send messages. If the server is running in Windows and the
> client is running in Linux it also works. These tests make me think I have
> at least the correct IP adresses.
> When I try to use a Linux server and a Windows client, the messages that
> are send do not arrive at the server. And I don't know what could cause
> this, since the reverse with a Windows server + Linux client works
> perfectly. I found a similar question
> <http://stackoverflow.com/questions/20599831/zeromq-req-rep-not-working>
> but the solution posted there did not work.
> I use Fedora 20 with g++ 4.8.3 and Windows 8 with Microsoft Visual Studio
> 2013.
> Is there an option that has to be flagged when doing this kind of 0MQ
> connection ?
> Thanks,
> Sebastiaan
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140810/ebd910a8/attachment.html>

More information about the zeromq-dev mailing list