users@glassfish.java.net

Glassfish 9.1 domain creation using asadmin CLI

From: Pavneet Kaur <Pavneet.Kaur_at_Sun.COM>
Date: Thu, 12 Mar 2009 09:46:42 -0500
Hello User group,

What is the port distribution while creating a new domain using the command "create-domain name portbase"?

Following are the port detail for a domain created using -portbase 33200 in create-domain:

Using port 33248 for Admin.
Using port 33280 for HTTP Instance.
Using port 33276 for JMS.
Using port 33237 for IIOP.
Using port 33281 for HTTP_SSL.
Using port 33238 for IIOP_SSL.
Using port 33239 for IIOP_MUTUALAUTH.
Using port 33286 for JMX_ADMIN.


We notice that 33769 is also used if we enable managing the domain from  Enterprise Manager, though there isn't any documentation on what is expected to run on this port. Also, we have had port collisions when there multiple domains separated by base numbers of 100.

What base port number spacing is recommend to ensure no port collisions?

Thanks,

Pavneet