Changing the default CM Server ports

This topic describes the default ports that are part of a CM Server deployment and how to change them.

The WebSphere® Application Server plugin ports (used for communication between IHS and WebSphere Application Server) consist of IHS, SSL, and CM Server servlet ports. None of these ports can be changed during installation.

If these ports are used by another application on the CM Server host, reconfigure that application to use different ports. If you cannot, you must change the ports CM Server uses, after installation.

If you change ports in httpd.conf or serverindex.xml, you must also change those in plugin-cfg.xml and virtualhosts.xml. In the virtualhosts.xml file, change the port number in the HostAlias_x section of the XML.

The default IHS port is 80 for all platforms except HP-UX. For HP-UX, the default port is 81. This information is listed in httpd.conf and plugin-cfg.xml. This port can be changed during installation.

The default SSL port is 443 for all platforms except HP-UX. For HP-UX, the default port is 444. This information is listed in ssl.conf and plugin-cfg.xml. This port can be changed during installation.

WC_defaulthost is the port that relays non-SSL communication between IHS and WebSphere Application Server for the CM Server. The default port number for WC_defaulthost is 12080 (cmprofile). Six ports are defined in serverindex.xml for each profile for the CM Server servlet that needs to be changed. WC_defaulthost is also defined in plugin-cfg.xml, WC_adminhost, WC_defaulthost_secure, WC_adminhost_secure, BOOTSTRAP_ADDRESS, and SOAP_CONNECTOR_ADDRESS.

Refer to the following table for information about files that contain default CM Server port numbers that you might need to change.
Table 1. Files containing default CM Server port information
File Pathname to file
httpd.conf Common\IHS\conf\
ssl.conf Common\IHS\conf\
serverindex.xml Common\CM\profiles\cmprofile\config\cells\node_name\nodes\node_name\
virtualhosts.xml Common\CM\profiles\cmprofile\config\cells\node_name\
plugin_cfg.xml Common\eWAS\profiles\
Examples for the value of node_name are a machine name or Node01Cell on Windows®, and dfltCell on Linux® or the UNIX® system.

Configuring an alternate port

To configure an alternate port number:

  1. Add a Listen statement in http.conf. For example, to add port 8000, add the line add Listen 8000.
  2. Add the alternate port to the virtualhost group in plugin-cfg.xml.
  3. Add the alternate port to the virtualhosts.xml file, in the HostAlias_x section.

Comentarios