(iSeries)
Change the ports associated with an application server
Use the administrative console or command line tools to manage the application servers.
Run the chgwassvr script command from the Qshell command line to change the ports for an application server.
Tasks
- 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 running on the system.
- Run the chgwassvr script.
Examples:
app_server_root/bin/chgwassvr -profileName devinst -server devsvr2 -portblock 11400In 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 9093In this example, the administrative console port for the application server devsvr2 in the profile devinst is changed.
chgwassvr command