Customizing Web Control Center on Windows
You can customize some parameters, such as the default port, for the Harmony Web Control Center service.
- From the Start menu, select All Programs > Harmony 14 [edition] > Tools > Control Panel.
- On the Process Starters tab, select HarmonyStarter[x]-webcc.bat from the Process Starter menu.
- If the service is running, click Stop.
- Edit the
webcc.batfile located in C:\Program Files (x86)\Toon Boom Animation\Toon Boom Harmony [version] [edition]\win64\bin to include your parameters.
For example, to change the default port to 8081:
"%~dp0\bin_3rdParty\node.exe" ..\..\webcc\server\app.js -port 8081%
The customizable parameters are:
|-numWorkers n||Number of processes to service client requests. Default is number of CPU cores. Set to 0 to disable worker child processes. If the number of CPUs is high, performance could be impacted on all processes running on the server. If server is mostly for Web Control Center, increase the number for better performance.|
|-noAuth||Disables basic login/authorization verifications with the user database. Default: authorization enabled.|
- port port
|The port to which HarmonyWeb Control Center is deployed. Default: 8080.|
Enables http protocol on specified port (can be used along with https to enable both). Default: http enabled unless -https is also enabled.
|-exchange loc||Location (on disk) of top-level file exchange folder. Default: /USA_DB/exchange|
|-cacheDuration s||Number of seconds to keep data in cache. Default 3600. 0-> disable cache, 1-999999-> number of seconds to keep data in cache.|
|-allowAllOrigin||Enables webcc web service from all sources (enable cross-origin resource sharing). Default: Disabled.|
|-disableAnalytics||Disables Google Analytics tracking for all clients. Default: Enabled.|
|Options Related to SSL Server|
|-https [port]||Enables https protocol on port 8443, unless a port override is provided. Default: Disabled.|
|-key key||<filename> the private key for the SSL session (works with -cert). Default: None.|
|-cert cert||<filename> the certificate filename for the SSL session (works with -key). Default: None.|
|-pfx file||<filename> alternate filename that includes both the private key and certificate for the SSL session. Default: None.|
- From the Control Panel, click Start.