The manageprofiles command can assign port numbers based on a starting port value. You can provide the starting port value from the command line, using the -startingPort parameter. The command assigns port numbers sequentially from the starting port number value. However, if a port value in the sequence conflicts with an existing port assignment, the next available port value is used
The order of port assignments is arbitrary. Predicting assignments is not possible.
For example, ports created with -startingPort 20002 would appear similar to the following example:
Assigned ports for an Application Server profile
WC_defaulthost=20002 WC_adminhost=20003 WC_defaulthost_secure=20004 WC_adminhost_secure=20005 BOOTSTRAP_ADDRESS=20006 SOAP_CONNECTOR_ADDRESS=20007 SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=20008 CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=20009 CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=20010 ORB_LISTENER_ADDRESS=20011 CELL_DISCOVERY_ADDRESS=20012 NODE_MULTICAST_DISCOVERY_ADDRESS=20013 NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS=20014 NODE_DISCOVERY_ADDRESS=20015 DCS_UNICAST_ADDRESS=20016 SIB_ENDPOINT_ADDRESS=20017 SIB_ENDPOINT_SECURE_ADDRESS=20018 SIB_MQ_ENDPOINT_ADDRESS=20019 SIB_MQ_ENDPOINT_SECURE_ADDRESS=20020 SIP_DEFAULTHOST=20021 SIP_DEFAULTHOST_SECURE=20022
Assigned ports for a custom profile
WC_defaulthost=20002 WC_adminhost=20003 WC_defaulthost_secure=20004 WC_adminhost_secure=20005 BOOTSTRAP_ADDRESS=20006 SOAP_CONNECTOR_ADDRESS=20007 SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=20008 CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=20009 CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=20010 ORB_LISTENER_ADDRESS=20011 CELL_DISCOVERY_ADDRESS=20012 DCS_UNICAST_ADDRESS=20013
CELL_DISCOVERY_ADDRESS=20010 BOOTSTRAP_ADDRESS=20004 SOAP_CONNECTOR_ADDRESS=20005 ORB_LISTENER_ADDRESS=20009 SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=20006 CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=20008 CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=20007 WC_adminhost=20002 DCS_UNICAST_ADDRESS=20011 WC_adminhost_secure=20003
manageprofiles.bat -create
-profileName shasti
-profilePath G:\shasti\WebSphere
-templatePath G:\shasti\WebSphere\profileTemplates\default
-nodeName W2K03
-cellName W2K03_Cell01
-hostName planetnt
-startingPort 20002