Re: JXTA cannot discover peers behind NATs?
"Mike [bondolo] Duigou" <[email protected]> Wed, 20 Dec 2006 11:29:23 -0800
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Organization | Project JXTA, http://www.jxta.org |
| Message-ID | <[email protected]> |
Alan Zhang wrote: > It seems JXTA cannot discover peers behind NATs and two peers both behind > NATs cannot connect to each other. I did a simple test by starting two > jxta shell > in one machine with different PIDs and different tcp ports. I diabled > local > multicasting to force the two peers to talk to each other via relay and > rendezvous. Using "rdvstatus" command and "relaystatus" command, I found > both peers could connect to a relay and a rendezvous, but they couldn't see > each other even when they were connected to a same rendezvous peer(i.e > jxta-38). How do you determine whether they can "see each other"? JXTA Discovery is not a suitable way to enumerate the peers connected to the network as it is not intended to provide exhaustive results. Did you try searching for the specific peer and/or attempt to connect to the peer? I also created a pipe adv in one peer and tried to find the > adv in the > other peer but failed. This may be the same problem as the peer search. Were you searching for the specific pipe advertisement or searching for all pipe advertisements and assuming that the pipe advertisement one of your peers created would be in the result returned? Mike