Failed to start Relay Server socket listener on port 1942

Version 2

    Problem

    After starting Ivanti Workspace Control Relay Server the following error is displayed:

     

    Failed to start Relay Server socket listener on port 1942. Only one usage of each socket address (protocol/network address/port) is normally permitted.

     

     

    Cause

    The port used by Workspace Control Relay Server is used by another application.

     

     

    Solution

    Determine which application is using port 1942

    1. Open an elevated Command Prompt (cmd.exe) on the machine were the Workspace Control Relay Server is installed.
    2. Execute the following command: netstat -nab > %temp%\netstat_output.txt
    3. Open %temp%\netstat_output.txt and search for 1942.
    4. The executable below the output is the executable that is using the port.

     

    Either remove that application OR reconfigure the Ivanti Workspace Control Relay server Listening Port in the Relay Server Configuration Tool.

    a.png

     

    Warning: If the listening port of the Relay Server is changed, then the port needs to be changed for Workspace Control Agents as well. See Ivanti Workspace Control Administration Guide 10.2 for how to connect to an existing environment.