Skip to main content

JXTA and proxy

2 replies [Last post]
chaster
Offline
Joined: 2009-01-08
Points: 0

Hi all,

The following is my problem: I have a JXTA application as my final year project. At the university I'm not able to run it due to school's proxy things (I think proxy is the problem, because at home it is working well). I've configured my Java properties variables (http.proxyHost and http.proxyPort) but it's still not working. The thing is that I have two computer, one of them creates a group, and publishes its advertisement. The second one, however, is unable to find it. This is strange, since both computers are connected to the net (I can access Yahoo, for example).

Please help me. Is this a known issue, or am I missing something?
Thanks in advance,
Chaster

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
spino327
Offline
Joined: 2007-02-11
Points: 0

Are the computers in the same subnet?
If your peers are adhoc and you want only work on the same subnet, verify that the tcp port for each peer is open, you can use Firefox in a remote computer to verify it, introduce ip:port, if you don't specify a port for your jxta app, it's usually set to 9701, you should see the jxta hello message.

Are you using a rendezvous peer?
If you want to use your jxta app to communicate computers in different subnets you need to use or to set a peer rendezvous, and tell the others peers(in edge mode) that they need to connect to that rendezvous.

Cheers

spino327

Message was edited by: spino327

chaster
Offline
Joined: 2009-01-08
Points: 0

Ok, I noticed something but I didn't have the chance to test it yet. My application was configured to EDGE, now, I changed it to SUPER (seen that SUPER acts like PROXY, but has more features). Might this have been the problem? Or should I look for the problem elsewhere? Thanks,

Chaster

Message was edited by: chaster