(iseries)Change the ports associated with an application server
We can use the console or tools to manage the application servers.
Run the chgwassvr script command from the Qshell command line to change the ports for an application server.
- On the WebSphere i command line, issue the STRQSH command to start the Qshell. adequateNumberOfSeconds is the amount of time that it takes to stop the WAS servers that are running on the system.
- Run the chgwassvr script.
Examples:
app_server_root/bin/chgwassvr -profileName devinst -server devsvr2 -portblock 11400
In this example, the ports assigned to the application server devsvr2 in the profile devinst are changed.
app_server_root/bin/chgwassvr -profileName devinst -server devsvr2 -admin 9093
In this example, the console port for the application server devsvr2 in the profile devinst is changed.
Related
chgwassvr command