users@shoal.java.net

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

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Mon, 29 Oct 2007 14:43:30 -0700

Ly, An V wrote:
>
> 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?
>
Thats the way to do it but we have to put the plumbing in place to take
those values and apply it.
We are thinking of simply exposing the port range attributes such as TCP
start port and TCP end port. For a majority of our users this would work
and I hope it would for you as well.

--Shreedhar
>
>
>
> Thanks again.
>
>
>
> *An Ly*
> CA
> Architect, Development
> Tel: +1-941-284-6972
> Fax: +1-813-627-3018
> An.Ly_at_ca.com
> <mailto:An.Ly@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.aspx
>
> 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
>