[zeromq-dev] network problem
Aamir M
intuitionist at gmail.com
Wed Dec 10 04:18:51 CET 2008
SORRY .. I forgot to mention what the error is:
On a machine with IP address 10.195.1.1 , I run the following commands with
the chat example:
$ zmq_server 5222 &
$ ./chatroom 10.195.1.1:5222 "foo" eth1 eth1
Now from a different machine with IP address 10.195.1.2, I type:
$ ./display 10.195.6.1.1:5222 "foo"
It works! ....
Now I reverse the situation. On 10.195.1.2, I run the commands:
$ zmq_server 5222 &
$ ./chatroom 10.195.1.2:5222 "foo" eth0 eth0
And from 10.195.1.1, I run:
$ ./display 10.195.6.1.2:5222 "foo"
Unfortunately this does not work. It gives the FOLLOWING ERROR:
No route to host
rc != -1 (tcp_socket.cpp:153)
Aborted
The funny thing is, if I instead type:
$ telnet 10.195.1.2 5222 I do get a connection. So the host is indeed
available, but zmq cannot see it for some reason.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20081209/f78496df/attachment.htm>
More information about the zeromq-dev
mailing list