Network Management

AppInsight for Exchange: The client cannot connect to the destination specified in the request

This article overviews one potential solution for when you have an Unknown status in AppInsight for Exchange.

First published date

10/12/2018 11:54 AM

Last published date

11/17/2022 1:36 PM

Overview

This article overviews a solution for when you have an Unknown status in AppInsight for Exchange, and it returns the following status:

Connecting to remote server X.X.X.X failed with the following error message: The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic

Product section

Network Performance Monitor

Cause

The error is due to an issue in the WinRM configuration.

This error message is also displayed when the World Wide Publishing service is disabled on the server. 

Resolution

  1. Establish a RDP connection to the machine you are trying to monitor AppInsight on.
  2. Open an elevated PowerShell prompt.
  3. Run below command:
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.

 winrm quickconfig


      4. If this does not work or it says that it is already set up, run the following command:

-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.

Enable-PSRemoting -Force

       5. Test or configure AppInsight again.