Re: [JXTA discuss] Transport Addresses
Henry Jen <[email protected]> Mon, 25 Jul 2005 23:47:17 -0700
| Newsgroups | gmane.comp.java.jxta.general,gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2005-07-23 at 14:35 +0300, Giorgos Georgakoudis wrote: > After examining my peer advertisement I got the following transport > addresses: > > <TransportAddress>cbjx://uuid-59616261646162614A787461503250335DDBB497F8C14254817A9D4E39EF699903</TransportAddress> > <TransportAddress>jxtatls://uuid-59616261646162614A787461503250335DDBB497F8C14254817A9D4E39EF699903</TransportAddress> > <TransportAddress>tcp://10.0.0.1:9701</TransportAddress> > > If I understand correcty the first one is the transport using the > crypto-based protocol, the second one is using tls and the third is > using TCP. I have a DSL connection so I am behind a router.Looking at > the tcp connection I see that the address posted at the adv is my > internal one (10.0.0.1). How jxta can route messages to me using TCP? > Through a relay. If you are behind a NAT, you should use a relay unless you have port forwarding. In that case, you will need to publish the public IP address in your peer advertisement. I am not sure how well JXTA supports port forwarding scenario if the host also need to communicate with other JXTA peers behind the same NAT. Cheers, -- Henry Jen the slowhog http://blogs.sun.com/slowhog
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBC5dx1LNaoAyBG0PURAuFBAKCK08jumOnmKbGln86mjvelCwCwpgCfcYbs 7vX5nZfz2qRK/YCPF72vg5I= =ITCF -----END PGP SIGNATURE-----