FreeKB - IBM WebSphere Getting Started with Ports
IBM WebSphere - Getting Started with Ports

Ports when creating a new profile

When creating a new WebSphere application server profile, the profile will contain one application server, named server1 by default. If using the manageprofiles.sh (Linux) or manageprofiles.bat (Windows) scripts to create the profile and you do not use the -portsFile or -startingPort or -defaultPorts options, the application server will be assigned a predefined collection of port values, such as 9080 for HTTP and 9443 for HTTPS.

The -portsFile option can be used to use a file to define the port values. The portdef.props file can be used. Following are the locations of the portdef.props files.

${WAS_INSTALL_ROOT}/profileTemplates/default/actions/portsUpdate/portdef.props

${WAS_INSTALL_ROOT}/profileTemplates/management/actions/portsUpdate/portdef.props

 

Typically, the portdef.props file is used. Or, the -startingPort option can be used to define the starting port number, such as 12345.

 


Ports when creating a new application server

After federating a node into a WebSphere network deployment manager (dmgr), you can then use the WebSphere admin console to create a new WebSphere application server. This could either be a stand alone application server that is not part of a static cluster or dynamic cluster. Or, you could create a new application server that is part of a static cluster or dynamic cluster. Regardless of whether the application server is stand alone or part of a cluster, the creation of the application server will cause the application server to have a certain collection of unique port values.

 


Viewing ports

  1. In the WebSphere admin console, expand Servers > Server Types.
  2. Select WebSphere application servers.
  3. Select the application server.
  4. Expand Ports.

 

Additionally, there will be a virtual host aliases for each port.

  1. Select Environment > Virtual Hosts.
  2. Select the virtual host that contains the port (usually default_host).
  3. Select Host Aliases.

 

Additionally, some of the application server ports will also be defined in the web container transport chains. Changes made to the application server ports will also update the web container transport chain port.

  1. Select Servers Server Types WebSphere application servers.
  2. Select the application server.
  3. Select Web Container Settings > Web container transport chains.

 


Changing ports

Refer to our article on how to change WebSphere application server ports.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter e0174 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |