Installing Decisions on an Alternate Port
  • 28 Jul 2022
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Installing Decisions on an Alternate Port

  • Dark
    Light

Overview

By default, Decisions uses Port 80. If desired, users may set Decisions to use an alternate port. This setting can be made during installation or after installation.

To set Decisions to use an alternate port, edit the following:

  • PortalBaseURL property (for example, "localhost:8080/decisions")
  • All the HTTP endpoint bindings in System Settings (settings.xml)
Note: HTTP and HTTPS should not be set on the same port
  • LocallyAddressableIISOrDNSName should not include the alternate port (for example, leave as localhost)
  • IIS binding

Watcher

Watcher Settings Location
WatcherSettings.xml can be found in the File System at C:\Program Files\Decisions\Decisions Services Manager Watcher.

Watcher runs on Port 80, it will not start unless the watcher port setting is changed in WatcherSettings.xml. 


Example

Important
ControlInstanceEndpoints needs to be set before beginning

The following example demonstrates how to use the alternate Port 8080 for Decisions.


Setting Port During Installation

  1. During installation, click Edit Settings.
    Edit Settings Properties 
    The settings in the Settings window are reflected in the settings.xml file located at C:\Program Files\Decisions\Decisions Services Manger

  2. Locate the property called HttpEndpointPort and set the Port to empty or blank.

  3. (If using HTTPS redirect, set this property also.)
    Locate the property called PortalBaseURLand edit it to include your desired port (in this case 8080).

  4. Ensure that the property LocallyAddressableIISOrDNSName, ensure that it does not include the port.

  5. Complete the rest of the installation as you usually would.
  6. The port binding must be set in IIS. To do this, open IIS and set the port binding for the website you are using (by default Default Web Site).
  7. Save and close IIS.

Setting Port After Installation

  1. In the file system of the Decisions server, navigate to C:/Program Files/Decisions/Decisions Services Manager and open the Settings.XML file to edit it.

  2. Locate the property called ControlInstanceEndpoints and set the current values for each Port definition to your desired port (in this case 8080).
    Note: Do not change the Port settings set to 443. This is the HTTPS protocol port. Locate the property called PortalBaseURL and edit it to include your desired port (in this case 8080).

  3. For the property LocallyAddressableIISOrDNSName, ensure that it does not include the port.
  4. Save and close the XML.
  5. The port binding must be set in IIS. To do this, open IIS and set the port binding for the website you are using (by default Default Web Site).
  6. Then, save and close IIS.



Was this article helpful?