Cannot Connect to Target Machine - Actively Refused
  • Dark
    Light
  • PDF

Cannot Connect to Target Machine - Actively Refused

  • Dark
    Light
  • PDF

Issue

You try to connect to an agent, but it fails with the following error:
360011668098mceclip0.png

Error message

"Could not connect to...The connection attempt lasted for a time span...target machine actively refused it"

Cause

The console tries to connect to an agent, but the agent service is down.

In addition, the "Deploy agents automatically" (in agent's settings) is disabled, so when you click connect, the console will try to connect, and if the agent service is down, it will fail.
360011519078mceclip5.png

360011518898mceclip2.png

Solution

In order to fix this issue, the Console needs to start the agent's service while trying to connect.

You can manually selectUpgrade Remote Agent from Agent Control, or use the Deploy agents automatically option, to automatically try to restart the agent's service when you connect.
360011519178mceclip8.png

360011519198mceclip9.png

Important Note:

If Deploy agents automatically is checked/enabled, the monitor might show high resource consumption.

There are situations where there are many computers that the monitor cannot connect to (network issue, server is down, etc).

In these situations, the monitor attempts to upgrade them repeatedly, which might use a significant amount of CPU\Memory.


Was this article helpful?