[zeromq-dev] Specify ip address for bind

Stephen Gray riskybizlive at live.com
Mon Feb 25 12:23:49 CET 2019


I've typically used my CZMQ built app on my local network and bound router sockets like this:

tcp://127.0.0.1:*[9002-9100]

in order to bind to the first available port in the range [9002-9100].

I'm trying to make my app work over the internet but need to learn how to specify the correct ip address.  If I try this:

tcp://my.real.ip.addr:*[9002-9100]

then the socket doesn't bind.

Can anyone help me out with this?

Thanks



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190225/9adf9683/attachment.htm>


More information about the zeromq-dev mailing list