IBM Support

How to assign a specific port to JVM in Web Sphere.

Technical Blog Post


Abstract

How to assign a specific port to JVM in Web Sphere.

Body

When creating the JVM in Web sphere the port gets assigned automatically.

There is way to assign a specific port based on availability and configuration needs.

First run netstat -a and identify the desired port. Then you should navigate to Environment >

Virtual Hosts > Application host >Host Aliases>and replace the assigned form with desired.

When done , navigate to Server Types > MXServer> Ports > Details and change the

WS_defaulthost to desired port. Please restart Application Server.

You are done.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11132761