[zeromq-dev] Specify ip address for bind
Doron Somech
somdoron at gmail.com
Mon Feb 25 12:40:18 CET 2019
try tcp://*:*[9002-9100] or tcp://0.0.0.0:*[9002-9100] both should work
On Mon, Feb 25, 2019 at 1:25 PM Stephen Gray <riskybizlive at live.com> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190225/d1f867ea/attachment.htm>
More information about the zeromq-dev
mailing list