[IBM i]

Changing the ports associated with an application server

You can use the administrative console or command line tools to manage your application servers.

About this task

Run the chgwassvr script command from the Qshell command line to change the ports for an application server.

Procedure

  1. 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 WebSphere Application Server servers that are running on your system.
  2. 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 administrative console port for the application server devsvr2 in the profile devinst is changed.