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 <[email protected]> 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 <[email protected]>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 >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
