[zeromq-dev] Peer to peer connection

Ahmet Kakıcı ahmetkakici at gmail.com
Thu Feb 13 20:34:07 CET 2014


Each peer will use other's public ip address to connect but you have to
forward ports to internal ip adresses.
A will connect to "tcp://87.96.124.16:xxxx" or bind to "tcp://*:xxxx".
B will connect to "tcp:173.169.213.16:xxxx" or bind to "tcp://*:xxxx".
You both have to forward xxxx port to A's and B's internal ip:port pairs.


On Thu, Feb 13, 2014 at 3:16 PM, Ngo Doan Lap <lapngodoan at gmail.com> wrote:

> Hi All,
> I'm going to develop peer to peer chat application using Zeromq but I
> can't find a away to for connecting two peers on different network.
> For example:
> A CoffeShop (public IP is 173.169.213.16) has peer A (private IP is
> 192.168.1.15)
> A university campaign (public IP is 87.96.124.16) has peer B (private IP
> is 10.14.22.19)
> Both A and B can access to internet freely.
> How do I make connection between A and B using zeromq?
> --
> Thanks and Best Regards,
> Ngo Doan Lap
> Mobile: 0977.833.757
>
> _______________________________________________
> 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/20140213/a1bb2ae1/attachment.htm>


More information about the zeromq-dev mailing list