4.1.3. Interface Port Configuration
The port used to access the OPSWAT Central Management console (9000 by default) can be changed by following the below guidelines:
-
On Windows:
-
Locate the file ProgramData/OPSWAT/Central/config.properties.
-
Change nginx_port to the desired value.
tomcat_port=
9009
mongo_port=
27017
memcached_port=
9005
nginx_port=
9980
up_port=
9026
-
Locate the file Program Files/OPSWAT/Central/nginx/conf/serverSettings.conf
-
Change listen to the same value as nginx_port as above.
listen
9980
;
-
Restart OPSWAT Central Management via the tray icon.
-
-
On Red Hat Enterprise Linux/Ubuntu:
-
Locate the file /usr/lib/ocm/set-port.sh
-
Change nginx_port to the desired value.
tomcat_port=
9009
mongo_port=
27017
memcached_port=
9005
nginx_port=
9980
up_port=
9026
-
Locate the file /opt/ocm/nginx/conf/serverSettings.conf
-
Change listen to the same value as nginx_port as above.
listen
9980
;
-
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.