[zeromq-dev] odd error from pyzmq

MinRK benjaminrk at gmail.com
Fri Feb 26 09:16:10 CET 2016


Typically, with bind you want an IP address. Often a domain works, but it
requires that zeromq can resolve that domain to a *local* IP address of the
machine. This won’t work, for instance, if your raspberry pi is behind a
router. You can listen on all IPs by using 'tcp://*:10011'.

-MinRK

On Fri, Feb 26, 2016 at 1:11 AM, Jerry Scharf <
scharf at lagunawayconsulting.com> wrote:

Hi,
>
> I'm working further into things. I have the raspberry pi side working
> happily and am now trying to get the ubuntu master side working. I am
> running python 3.4 and did the install from pip with no errors. (I am
> running python2.7 on the pi side to get spi routines...)
>
> The socket create works fine, but wen I try to bind to my host as a
> fully qualified hostname:port (in this case
> "bank0pi.lt.in.finsix.com:10011" I get this stackdump:
>
> File "/home/jerry/finsix/marathon/master/simple/m_zmq.py", line 29, in
> bank_setup
>     evsock.bind(evconn)
>    File "zmq/backend/cython/socket.pyx", line 487, in
> zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
>     File "zmq/backend/cython/checkrc.pxd", line 25, in
> zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
> zmq.error.ZMQError: No such device
>
> What device is it looking for?? I check with host and the name resolves
> fine.
>
> tia,
> jerry
>
> _______________________________________________
> 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/20160226/b33207fa/attachment.htm>


More information about the zeromq-dev mailing list