Changing Ports in OpManager

 

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

 

The script for changing the Web Server port number, ChangeWebServerPort (in Windows this will be a .bat file and in Linux, .sh file) is available under the <OpManager Home>/bin directory.

The steps to change the port number are as follows:

  1. Stop the OpManager Plus server. If you are running OpManager Plus as Windows service, stop the service.

  2. Execute the script as follows:
    In Windows,
    ChangeWebServerPort <old_port_number> <new_port_number>

    In Linux,
    sh ChangeWebServerPort.sh <old_port_number> <new_port_number>

    Here, old_port_number is the port number you specified during installation and new_port_number is the one where you want to run the Web server.

  3. Start the OpManager Plus server.

Changing Other Ports

You can also change the port by editing the value of WEBSERVER_PORT=80 in the file /conf/Port.properties.

You can change the following ports too in this file if the default ports are occupied:

WEBCONTAINER_PORT=8009

NMS_BE_PORT=2000

WEBSERVER_PORT=80

TOMCAT_SHUTDOWNPORT=8005

RMI_PORT=1099

 

fBack to Top