+

Search Tips   |   Advanced Search

Set port numbers to the serverindex.xml file

We can use wsadmin.sh to modify the port numbers specified in the serverindex.xml file. The endpoints of the serverindex.xml file are part of different objects in the configuration.

There are multiple ways to complete this task. Complete the steps in this task to use the AdminConfig and AdminTask objects to configure ports in the environment. Alternatively, we can use the scripts in the AdminServerManagement script library to configure various ports in the configuration.

Before modifying ports , you must launch wsadmin.sh.


What to do next

Save the configuration changes.

Use the following command example to save the configuration changes:

Use the syncActiveNode or syncNode scripts in the AdminNodeManagement script library to propagate the configuration changes to node or nodes.


Related tasks

  • Configure port settings
  • Use the wsadmin scripting AdminConfig object for scripted administration

  • Ports settings
  • Server settings configuration scripts
  • Commands for the AdminConfig object