RE: Peers do not find each other
"Poole, Paul P1" <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Try setting your network settings in the profile.xml
(net.jxta.myjxta.resources) file as follows:
<network>
<rendezVous discovery="false">
<address>//:</address>
</rendezVous>
<relays discovery="false">
<address>//:</address>
</relays>
</network>
Make sure you delete your jxta home directory (depending on your
settings this could be $HOME/.jxta or .jxta in your working directory
(or myjxta).
My setup is very similar to yours and this configuration works for me...
Hth
Paul
-----Original Message-----
From: Matthias Horst [mailto:[email protected]]
Sent: Tuesday, August 09, 2005 3:55 PM
To: [email protected]
Subject: [JXTA user] Peers do not find each other
Hi,
Background:
------------
I try to connect two peers, call them peer A and peer B, which are
plugged in at the same router. I do *not* configure any rendezvous
peers, because for my projekt a want to give away just a CD with the
Peer-2-Peer Software and everybody in the same network, who uses the CD,
should find all the other users automatically, without asking a
administrator for settings. (At least that's the idea)
Settings:
-----------
As a special I set the rendezvous seed peers to something stupid, e.g.
tcp://127.0.0.1:19999, because if I leave this option empty, it always
tries to connect automatically to the official jxta.org rendezvous peers
what I don't want. I do *not* enable the option "use only configured
seed peers" such that it should also look for lokal rendezvous via
multicast. Btw. TCP and Multicast is enabled. All firewalls are
disabled. My program waits 20 seconds in order to find a rdvs or to
become a rdvs by itself (this is made by a piece of code Muhamed
committed to the mailing list ...)
Experiment:
------------
With these settings peer A and peer B don't find each other. Moreover
the program does not say that it has become a rdvs by itself.
Now I configure peer A as a rendezvous and restart it without restarting
peer B (the edge peer).
Again they don't find each other.
Now I restart peer B (the edge peer).
Again they don't find each other.
Now I configure peer B to use peer A as a rendezvous (seed rendezvous)
and restart it without restarting peer A.
Now everything works fine!
Then I stop peer A (the rendezvous) and restart it.
Again they don't find each other.
Question:
------------
Is anybody out there who can explain this behaviour? I thought that at
least in the same subnet all peers find each other automatically as long
as multicast is enabled even without an explicit rdv peer. Obviously as
soon as peer A is offline for some seconds every communication between A
and B seems to be impossible. I don't think that you guys out there are
using a p2p network where everybody must reboot his application because
somebody else shutdown his peer ;) So what's the trick?
greetings
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]