4.3 Interface Port Configuration

The port used to access the OPSWAT Central Management Console (9000 by default) can be changed by following the below steps:

  • On Windows:

    1. Locate the file ProgramData/OPSWAT/Central/config.properties.

    2. Change nginx_port to the desired value.

      tomcat_port=9009
      mongo_port=27017
      memcached_port=9005
      nginx_port=9980
      up_port=9001
    3. Locate the file Program Files/OPSWAT/Central/nginx/conf/serverSettings.conf

    4. Change listen to the same value as nginx_port as above.

      listen 9980;
    5. Restart OPSWAT Central Management via the tray icon.

  • On Red Hat Enterprise Linux/Ubuntu:

    1. Locate the file /usr/lib/ocm/set-port.sh

    2. Change nginx_port to the desired value.

      tomcat_port=9009
      mongo_port=27017
      memcached_port=9005
      nginx_port=9980
      up_port=9001
    3. Locate the file /opt/ocm/nginx/conf/serverSettings.conf

    4. Change listen to the same value as nginx_port as above.

      listen 9980;
    5. Restart OPSWAT Central Management via the command systemctl restart ocm.

Please refer to Setting up domain and change the Server URL setting to reflect the new address. Devices managed by OPSWAT Central Management will require OPSWAT Client's reinstallation upon an address change.