Configuring the Port to Connect to the Information Service

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

This functionality is supported only if you are using the 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 Agent. Then, the information service forwards communication to the port that the Agent uses.

The default port of the information service is 22901. 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.
    • On a Windows system, this file is located in C:\ProgramData\Application Data\Silk\SilkTest\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. Change the value for the appropriate port. Typically, you configure the information service port settings to avoid problems with a firewall by forcing communication on a specific port.

    Port numbers can be any number from 1 to 65535.

    • infoservice.default.port – The default port where the information service runs. By default, this port is set to 22901.

  3. Save the file as infoservice.properties.
  4. Restart the Open Agent, the Silk Test client, and the application that you want to test.