Change ports
We can change the IBM WebSphere Portal ports values after installation if there are port conflicts with other cells on the system.
WebSphere Portal is installed.
The starting port parameter is required for a successful completion of the modify-ports-by-startport task. When we specify a start port, this port becomes the base for assigning port values. The code increments this value as each port is assigned, which means the WebSphere Portal ports are assigned incrementally starting with the port defined with the modify-ports-by-startport task.
- Generate the WebSphere_Portal_PortMatrix.txt file:
cd WP_PROFILE/ConfigEngine
./ConfigEngine.sh list-server-ports-by-name -DServerName=WebSphere_Portal -DWasPassword=foo
The port file is in...
WP_PROFILE/ConfigEngine/log
It lists the WebSphere Portal (WebSphere_Portal) ports for the installation.
- Stop the WebSphere_Portal server.
- Change the starting port number:
./ConfigEngine.sh modify-ports-by-startport -DWasPassword=foo -DModifyPortsServer=WebSphere_Portal -DStartPort=starting port number
- Change ports using the port file:
Sample port files are available on the Setup disc. The following information is an example of a port file although the port values are different based on the environment:
BOOTSTRAP_ADDRESS=10035 SOAP_CONNECTOR_ADDRESS=10025 ORB_LISTENER_ADDRESS=10034 SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=10041 CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=10036 CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=10033 WC_adminhost=10042 WC_defaulthost=10039 DCS_UNICAST_ADDRESS=10030 WC_adminhost_secure=10032 WC_defaulthost_secure=10029 SIP_DEFAULTHOST=10027 SIP_DEFAULTHOST_SECURE=10026 IPC_CONNECTOR_ADDRESS=10037 SIB_ENDPOINT_ADDRESS=10028 SIB_ENDPOINT_SECURE_ADDRESS=10038 SIB_MQ_ENDPOINT_ADDRESS=10040 SIB_MQ_ENDPOINT_SECURE_ADDRESS=10031./ConfigEngine.sh modify-ports-by-portsfile -DWasPassword=foo -DModifyPortsServer=WebSphere_Portal -DPortsFile=full path to ports file
- Restart the WebSphere_Portal server.
Parent WebSphere PortalRelated tasks:
Start and stop servers, deployment managers, and node agents