Skip to main content

How to configure a jxta peer

5 replies [Last post]
umberto85
Offline
Joined: 2007-06-15

Hi i have a problem with the jxta peer configuration to connect 2 remote peer. This peer are in difference Lan with a firewall.
Thangs.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yonder
Offline
Joined: 2005-01-04

You need a Relay peer. The following description was copied from JxtaProgGuide_v2.5:

In order for JXTA peers to communicate with each other across a firewall, the following conditions must exist:
• At least one peer in the peer group inside the firewall must be aware of at least one peer outside of the
firewall.
• The peer inside and the peer outside the firewall must be aware of each other and must support a
common transport (HTTP or TCP).
• The firewall, at the very least, has to allow outbound HTTP or TCP connections. Figure 4-3 depicts a
typical message routing scenario through a firewall. In this scenario, JXTA Peers A and B want to pass
a message, but the firewall prevents them from communicating directly. JXTA Peer A first makes a
connection to Peer C using a protocol such as HTTP that can penetrate the firewall. Peer C then makes a
connection to Peer B using a protocol such as TCP/IP. A virtual connection is now made between Peers
A and B.

Message was edited by: yonder

umberto85
Offline
Joined: 2007-06-15

Hi,
with your information i find the peer in the disocvery group but, when i find peer i not found any peer. Because?

yonder
Offline
Joined: 2005-01-04

would u pls give more description?

umberto85
Offline
Joined: 2007-06-15

thanchs but I have solved ,my problems

Message was edited by: umberto85

fabiosartori
Offline
Joined: 2007-06-28

Hi,
how did you solved the firewall problem ?

Thanks.
Fábio