Configuring port settings

When you configure WebSphere® Application Server resources or assign port numbers to other applications, you must avoid conflicts with other assigned ports. In addition, you must explicitly enable access to particular port numbers when you configure a firewall.

Before you begin

For more information about port numbers that your IBM i® system currently uses, enter the NETSTAT *CNN command on the command line. Press F14 to view assigned port numbers.

You can also use the port validator tool to find port conflicts between different WebSphere Application Server profiles, products, and servers. Read the "port validator tool" article in the information center for more information.

Tip: Port conflicts might occur if you install WebSphere Application Server on multiple systems with deployment managers managing servers or clusters on different systems. The configuration-service port-resolution mechanism does not support cross profiles on different host machines.
  • Example 1:
    1. On system A, create a cell profile that includes Dmgr and AppSrv01 (Node1).
    2. On system B, create AppSrv01 and federate AppSrv01 (Node2) to Dmgr on system A.
    3. Create server1 on Node1 and server2 on Node2.
    4. The server1 server and server2 server might contain duplicate server endpoint ports in the serverindex.xml file because Node1 and Node2 are located on different host systems.
  • Example 2:
    1. On system A, create a cell profile that includes Dmgr and AppSrv01 (Node1).
    2. On system B, create AppSrv01 and federate AppSrv01 (Node2) to Dmgr on system A.
    3. On system B, create JobManager.
    4. Create a cluster and add two servers, server1 on Node1 and server2 on Node2.
    5. The server2 server and the JobManager server might contain duplicate server endpoint ports in the serverindex.xml file because server2 and JobManager are in cross profiles. The server2 server is under Dmgr, JobManager is under the JobManager profile. and the Dmgr and JobManager profiles are located on different machines.

About this task

Procedure

  1. Review the port number settings, especially when you are planning to coexist.

    You can use the dspwasinst command-line tool to display the port information for a profile. Read the "dspwasinst command" article in the information center for more information.

  2. Optional: Change the port number settings.
    You can set port numbers when configuring the product after installation.
    • During profile creation using the manageprofiles command, you can accept the default port values or you can specify your port settings. If you want to specify ports, you can do so in any of the following ways:
      • Specify the use of a port file that contains the port values.
      • Specify the use of a starting port value.
      • Specify the use of the default port values.

      Read the "manageprofiles command" article in the information center for more information.

    • You can use the chgwassvr command to change the ports for an application server within a profile.

      Read the "chgwassvr command" article in the information center for more information.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 20, 2011 12:59:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=tins_portep
File name: tins_portep.html