Changing Web Server port in OpManager

You will be prompted to change Web Server port during installation. You can also change it after installation.

Note: It is mandatory to change the OpManager port only from the UI, if any agent-monitored devices are present.

Steps to change the port number in version 126278 and above.

Steps to change the port number in versions below 126278.

Steps to change the port number in version 126278 and above

The steps to change the port number are as follows:

  1. Stop the OpManager server. If you are running OpManager as Windows service, stop the service.
  2. Open Command Prompt as Administrator, and navigate to <OpManager Home>/bin directory. Then, execute the following command:

In Windows,
    ChangeWebServerPort.bat <PROTOCOL> <New Port Number>

In Linux,
    sh ChangeWebServerPort.sh <PROTOCOL> <New Port Number>

Note:

  • The <PROTOCOL> should be either http or https, and the port will change accordingly.
  • The <New Port Number> is the one in which you want to run the Web server now.
  • Once the script has been executed, start the OpManager server.

In OpManager,
Users can change the port number from OpManager's UI. To change the port number via OpManager settings,

Go to Settings -> General settings -> Server settings -> Change the Server port and click Save.

 

Steps to change the port number in versions below 126278

  1. Stop the OpManager server. If you are running OpManager as Windows service, stop the service.
  2. Open Command Prompt as Administrator, and navigate to <OpManager Home>/bin directory. Then, execute the following command:

In Windows,
    ChangeWebServerPort <New Port Number>

In Linux,
   sh ChangeWebServerPort.sh <New Port Number>

Note:

  • The <New Port Number> is the one where you want to run the Web server now.
  • Once the script has been executed, start the OpManager server.

In OpManager,
Users can change the port number from OpManager's UI. To change the port number via OpManager settings,

Go to Settings -> General settings -> Server settings -> Change the Server port and click Save.

 

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.