Skip to main content

2 questions about the HelloWorld example

6 replies [Last post]
adamman71
Offline
Joined: 2007-01-31

Hi,

-) Does the HelloWord example (searching for a RDV) have any chance of succeeding at all if one is behind a firewall and no other peer exists on the LAN? If I understand the documentation correctly, EDGE peers can become a RDV for a peer group, but that will not be enough, since a RELAY is required to reach anything behind the firewall. Am I right?

-) Is there any peer on the net one can try to reach for test purposes from behind a firewall or a NAT? If yes, what is its JXTA-ID? Is there another method to find out whether a peer can reach others peers behind a firewall and or a NAT?

Thanks,

J.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
moonlite
Offline
Joined: 2008-01-24

Hallo,

you need a rendezvous and or realy peer.
To that your clients must connect.
JxtaPlatform or NetworkConfigurator must
be configured with that,
there are some rendezvous peers avaiable from
the jxta project.
But first you should create some working application.
If that is useable we could have a try in the internet,
using the jxta projects rendezvous peers

bye

adamman71
Offline
Joined: 2007-01-31

Hi,

I have already implemented such an application. I have tried to connect to a RDV being and EDGE, a RDV or a RELAY, but all of this was unsuccessful.

Which are the rendez-vous peers are available from the JXTA project?

Thanks,

J.

moonlite
Offline
Joined: 2008-01-24

Hallo, i did
post those peer adresses just now here
Re: Does Jxta really work well over Internet?

Posted: Feb 18, 2008 8:23 AM in response to: yzh0709 Reply

My text was there.
I´m still on sending ping message want a test?
Rendezvous and relay peers are listed below
It is now here 19:26, in the evening.
Will send for the next a least two hours
would be nice toget some reply on jxta pipes

">>>
Hallo,

I m sitting in germany it is here 17:00, in the evening.

I did join a group
My Peer Name: Moonlite

You should see that Peer with a freeware tool from jxta project:
Download: https://jxta-netmap.dev.java.net/

Name of group, an already existing noneMembership group,
never found any one on that group
Name: MyJXTA
Group ID: urn:jxta:uuid-1989101414002000081518002844102602

Join that group!

I did set up a standard pipe advertisment,
use this to create a pipe
or try discovering my published pipe ADV

My Pipe ADV:





urn:jxta:uuid-59616261646162614A757874614D504725184FBC4E5D498AA0919F662E40028B04


JxtaPropagate


PipeExample


Example Set up of an pipe advertisement

End of my pipe adv

You must set up your JxtaPlatform
or your NetworkManager with the following Rendezvous and Relay Peers.
RDV Peer: http://rdv.jxtahosts.net/cgi-bin/httpRdvsProd.cgi
Relay Peer: http://rdv.jxtahosts.net/cgi-bin/routersProd.cgi

You must also "enable incoming http connections", too

My Application sends a "ping Moonlite message: Hallo ..." every 60 seconds

Try find it, and note down here the complete message, if you found it
I will send for the next 3 hours,
I also have a logTextArea waiting for your messages.

But I´m not sitting there all the time.

Try connecting, we can do that tomrow again.

Okay the setup is running now.
bye

moonlite
Offline
Joined: 2008-01-24

Hallo

I just did found two peers in MyJxta Group

Name ------------------ colinjohnriddell
PeerID ---------------- urn:jxta:uuid-59616261646162614A7874615032503385A305847EBC4717A7D887BE99B0295503
PeerGroupID ----------- urn:jxta:uuid-1989101414002000081518002844102602
Description ----------- MyJXTA 2.4.1 [2006.10.20:02.09.11 +0000] (edge)
ID -------------------- urn:jxta:uuid-198910141400200008151800284410266A7874613A504175B569A42D31393839E08063131ECE1FCBCE3F22BE6CF8504A3530544701
AdvertisementType ----- jxta:PA
BaseAdvType ----------- jxta:PA

Name ------------------ synf
PeerID ---------------- urn:jxta:uuid-59616261646162614A7874615032503385A305847EBC4717A7D887BE99B0295503
PeerGroupID ----------- urn:jxta:uuid-1989101414002000081518002844102602
Description ----------- MyJXTA 2.4.1 [2006.10.20:02.09.11 +0000] (edge)
ID -------------------- urn:jxta:uuid-198910141400200008151800284410266A7874613A504175B569A42D31393839E08063131ECE1FCBCE3F22BE6CF8504A3530544701
AdvertisementType ----- jxta:PA
BaseAdvType ----------- jxta:PA

But I could not find any pipe advs to connect.
Anyway the first time I found someone in the group.

bye

adamman71
Offline
Joined: 2007-01-31

I was able to connect to a RDV by adding the following to my NetworkConfigurator:

config.addRdvSeedingURI(URI.create("http://rdv.jxtahosts.net/cgi-bin/rendezvous.cgi?2"));
config.addRelaySeedingURI(URI.create("http://rdv.jxtahosts.net/cgi-bin/relays.cgi?2"));

I am currently developing my little application to try and retrieve more from the JXTA network by taking a look at the jxtanetmap code.

Thanks,

J.

moonlite
Offline
Joined: 2008-01-24

Hallo,
I did tried those rdvs and relays early too.
But they don´t seemd to work any more.

So I´m using now
RDV Peer: http://rdv.jxtahosts.net/cgi-bin/httpRdvsProd.cgi
Relay Peer: http://rdv.jxtahosts.net/cgi-bin/routersProd.cgi

bye