Configure 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.

(iseries) For more information about port numbers that the iSeries system currently uses, enter the NETSTAT *CNN command on the command line. Press F14 to view assigned port numbers.

(iseries) We can also use the port validator tool to find port conflicts between different WebSphere Application Server profiles, products, and servers. See Port validator tool for more information.

Tips:

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

    (iseries) We can use the dspwasinst command-line tool to display the port information for a profile. See dspwasinst command for more information.

  2. Optional: Change the port number settings.

    We can set port numbers when configuring the product after installation.

    • During profile creation using the manageprofiles command, we can accept the default port values or we can specify the port settings. To specify ports, we can do so in any of the following ways:

      • Specify the use of a port file containing the port values.

      • Specify the use of a starting port value.

      • Specify the use of the default port values.

      See manageprofiles command for more information.

    • (dist) During profile creation using the Profile Management tool, we can accept the port settings recommended by the tool or we can specify the port settings.

      See Manage profiles using the GUI for more information.

    • (iseries) We can use the chgwassvr command to change the ports for an application server within a profile.

      See chgwassvr command for more information.

    (zos) We can set port numbers when configuring the product after installation. Start to think about port numbers during the planning phase described in Plan for product configuration.

    (dist) We can perform one of the following actions to change port settings after installation:

    • Use the updatePorts tool to change port settings.

      See Updating ports in existing profiles and Port number settings for more information.

    • Edit the profile_root/config/cells/cell_name/nodes/node/serverindex.xml file to change the port settings, or use scripting to change the values.


Subtopics


Related tasks

Manage profiles using the GUI

(zos) Planning for product configuration

Update ports in existing profiles

(iseries) dspwasinst command

manageprofiles command

(iseries) chgwassvr command

Port number settings