[zeromq-dev] Peer to peer connection

Ahmet Kakıcı ahmetkakici at gmail.com
Sun Feb 16 13:07:55 CET 2014


That will be "your" application using zeromq and you'll specify which ports
to use.


On Sun, Feb 16, 2014 at 6:47 AM, Ngo Doan Lap <lapngodoan at gmail.com> wrote:

> Thank  for your answer,Ahmet Kakıcı
>
> "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."
>
> By using a centerlized server (have public IP) we can know public IP,
> private IP and internal ports of A and B.
> but the issues is how do we know external port "xxxx" by using zeromq?
>
>
> On Thu, Feb 13, 2014 at 8: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
>>
>
>
>
> --
> Thanks and Best Regards,
> Ngo Doan Lap
> Mobile: 0977.833.757
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140216/6b874b99/attachment.htm>


More information about the zeromq-dev mailing list