Configuring the Port to Connect to the Information Service

Before you begin this task, stop the Silk Test Open Agent.

Typically, you do not have to configure port numbers manually. The information service handles port configuration automatically. Use the default port of the information service to connect to the Open Agent. Then, the information service forwards communication to the port that the Open Agent uses. However, you can configure the information service port settings to avoid problems with a firewall by forcing communication on a specific port.

By default, the port that is used to connect Silk Test Workbench with the information service over a secure HTTPS connection is port 48561. When you can use the default port, you can type hostname without the port number for ease of use. If you do specify a port number, ensure that it matches the value for the default port of the information service or one of the additional information service ports. Otherwise, communication will fail.

If necessary, you can change the port number that all clients use to connect to the information service.

  1. Navigate to the infoservice.properties.sample file and open it.
    • In a Microsoft Windows system, this file is located in C:\ProgramData\Silk\Silk Test\conf, where “C:\ProgramData” is equivalent to the content of the ALLUSERSPROFILE environment variable, which is set by default on Windows systems.
    • On macOS, this file is located in /Users/<user>/.silk/silktest/conf.
    This file contains commented text and sample alternate port settings.
  2. Specify whether Silk Test Workbench should communicate with the information service over a secure connection through HTTPS.
    • To use a secure connection through HTTPS, set infoservice.https.enabled to true. This is the default setting.
    • To disable using a secure connection through HTTPS, set infoservice.https.enabled to false.
  3. Optional: If you have specified that you want to use a secure connection through HTTPS, you can specify a different port that is not in use through which Silk Test Workbench should communicate with the information service as the infoservice.default.https.port. The default HTTPS port is 48561. Port numbers can be any number from 1 to 65535.
  4. Optional: If you have specified that you do not want to use a secure connection through HTTPS, you can specify a different port that is not in use through which Silk Test Workbench should communicate with the information service as the infoservice.default.port. The default port is 22901.
  5. Save the file as infoservice.properties.
  6. Restart the Open Agent, the Silk Test client, and the application that you want to test.