Create a WinRM listener for AppInsight for IIS

When AppInsight for IIS is configured for target servers, port 5968 is used as the WinRM HTTPS listening port, by default.

If you receive an "HTTPS listener currently exists on port 5986" message, follow these steps to switch the listening port to an available port.

  1. To configure WinRM on an IIS server, open an elevated Windows PowerShell command prompt, to run PowerShell as an administrator.
  2. Copy the following text to a text editor:
    winrm create winrm/config/listener?Address=*+Transport=HTTPS @'{Port="5986";CertificateThumbprint="<Thumbprint value of certificate>";​Hostname="<IP Address of Server>_Solarwinds_Zero_Configuration"}'
  3. Change Port="5986" to match an available port.

    Before proceeding with the next step, note that quotation mark characters (") can change during copying and pasting. Using a text editor such as Notepad should prevent that from happening, but if you don't get the desired results, check the quotation marks to make sure they did not change.

  4. Copy the text, paste it into the PowerShell command line, and press Enter. Results should look something like this:

  1. To verify the configuration, type winrm get winrm/config/listener?Address=*+Transport=HTTPS.
  2. Press Enter.
  3. Results should look something like this: