Step-by-step guide
-
Stop the PMC Web Service. No jobs need to be stopped for this configuration change.
-
Navigate to the PMC Installation Folder (typically C:\Program Files\Peer Software\Peer Management Center).
-
Open the Hub subfolder, and then open the web-configuration subfolder.
-
Open the config.ini in a text editor. Note that due to UAC restrictions, it will probably be easier to copy the file on the desktop, modify it there, then copy it back to the web-configuration directory afterwards.
-
Within this file, there are six total settings that can be modified: three for http access and three for https access (note that each setting MUST have an = between setting name and value):
Setting
Possible Values
Set Value
org.eclipse.equinox.http.jetty.http.enabled=
true/false
Set to true to enable http access.
org.eclipse.equinox.http.jetty.http.host=
A DNS hostname or IP address
Set to 127.0.0.1 or localhost to allow http access to the web service only from the local server. Otherwise, set it to a network IP address or DNS name.
org.osgi.service.http.port=
Numerical port
Set the port for http access. By default, this is set to 8081.
org.eclipse.equinox.http.jetty.https.enabled=
true/false
Set to true to enable https access.
org.eclipse.equinox.http.jetty.https.host=
A DNS hostname or IP address
Set to 127.0.0.1 or localhost to allow https access to the web service only from the local server. Otherwise, set it to a network IP address or DNS name.
org.osgi.service.http.port.secure=
Numerical port
Set the port for https access. By default, this is set to 8443.
-
Save and close the ini file.
-
Copy the ini file into the workspace directory if it was modified on the desktop in Step 4.
-
Restart the PMC Web Service.