Port Configuration
Currently, only the interface port and the status port are configurable. Please follow the below guidelines to modify them.
On Windows:
- Locate the file ProgramData/OPSWAT/Central/config.properties.
- You can modify the interface port (nginx_port, default 9000) and the status port (up_port, default 9026).
- For the interface port:
- Locate the file Program Files/OPSWAT/Central/nginx/conf/serverSettings.conf
- Change listen to the same value as nginx_port as set in step 2.
- For the status port:
- Locate the file Program Files/OPSWAT/Central/nginx/conf/up.conf
- Change the port number after listen to the same value as up_port as set in step 2.
- Restart OPSWAT Central Management via the tray icon.
On Red Hat Enterprise Linux/Ubuntu:
- Locate the file /usr/lib/ocm/set-port.sh
- You can modify the interface port (nginx_port, default 9000) and the status port (up_port, default 9026).
- For the interface port:
- Locate the file /opt/ocm/nginx/conf/serverSettings.conf
- Change listen to the same value as up_port as set in step 2.
- For the status port:
- Locate the file/opt/ocm/nginx/conf/up.conf
- Change the port number after listen to the same value as up_port as set in step 2.
- Restart OPSWAT Central Management via the command systemctl restart ocm.
Please refer to Server URL 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.
Was this page helpful?