users@shoal.java.net

RE: [Shoal-Users] port number used by JXTA

From: Ly, An V <An.Ly_at_ca.com>
Date: Mon, 29 Oct 2007 16:27:30 -0400

Shreedhar,

 

Thanks for the quick response. It's 9701 (typo on my part).

 

We'd prefer being able to influence these numbers just in case the
defaults are not available/allowed.

 

Are there any values passed via the Properties object to
GMSFactory.startGMSModule that could be used here?

 

Thanks again.

 

An Ly
CA
Architect, Development
Tel: +1-941-284-6972
Fax: +1-813-627-3018
An.Ly_at_ca.com
  <http://www.ca.com/>

From: Shreedhar.Ganapathy_at_Sun.COM [mailto:Shreedhar.Ganapathy_at_Sun.COM]
Sent: Monday, October 29, 2007 12:27 PM
To: users_at_shoal.dev.java.net
Subject: Re: [Shoal-Users] port number used by JXTA

 

Hi An
We have not exposed a property to set that port, yet. We pass in to the
Jxta platform NetworkConfigurator, a port range whereby each jxta peer
picks the first available port in that range. The port range we pass in
is 9701 to 9999. (So 9601 that you are seeing bound could be coming from
another non-shoal jxta process). This range is specified in the
NetworkManager class.

http://www.koders.com/java/fid2B4EBA82C10074975E61A18860352002140B89CF.a
spx
look in line number 337 and 338

Let us know if you need to be able to specify the port number.

Cheers
Shreedhar


Ly, An V wrote:

Hello!

 

We noticed that Shoal uses JXTA's default port of 9601. What are some of
the ways in which we can change this port number, as a Shoal user?

 

Thanks.

 

An






image001.gif
(image/gif attachment: image001.gif)