...
Code Block |
---|
export JAVA_OPTS=-Ddw.server.applicationConnectors[0].port=<port-number> |
Ensure the this file is owned by mciworb
the account you have devoted to Workbench (usually mciworkb
) and has permissions 755 (-rwxr-xr-x
). For example,
...
Code Block | ||
---|---|---|
| ||
$> sudo service dm-mettleci-workbench restart |
The MettleCI Workbench Setup wizard discover this file and Wizard will now be accessible via the specified port number (5678
in the example above).
Once the MettleCI Setup Wizard is complete, delete the setupEnv.sh
file and complete the steps in the following section to ensure that Workbench continues to use your preferred ports .
Changing ports after completing the MettleCI Setup wizard
You can request make Workbench to operate on any ports you like by updating the following section in your <METTLECI-HOME-DIRECTORY>/config.yml
file. This example exposes Workbench over HTTP on port 9090:
...
When HTTPS has been configured, the applicationConnector
applicationConnectors
type will be HTTPS
and the server section will contain additional HTTPS-specific properties. You should only update the HTTPS port
property, leaving the other values unchanged.
Once you’ve made your the port configuration changes, restart your Workbench service using the Service Manager utility on Windows, or this command on Unix: .
...