Symantec Agent fails to register: Error: “HTTP Request Failed: No connection could be made because the target machine actively refused it”
Issue:
The agent installation is successful but the Symantec Management Agent doesn’t register to the server and show a GUID generated against the Computer ID: You won’t be able to see the client in the Server console since it never gets registered.
Error message:
HTTP Request Failed: No connection could be made because the target machine actively refused it. (-2147014835)]]>
Here is the screenshot of the agent when you have this issue:
In the client machine, check the Symantec Agent logs under C:\Program Data\Symantec\Symantec Agent\Logs. Open any log file and if you see an entry saying:” process='AeXNSAgent.exe' pid='1664' thread='1692' tickCount='143021'>
<![CDATA[HTTP Request Failed: No connection could be made because the target machine actively refused it. (-2147014835)]]>
</event>”, here is the solution:
In the client machine, open a command prompt and go to the following path:
C:\Program Files\Altiris/Altiris Agent
Type ? And hit enter:
Type aexnsagent /diags to enable the agent diagnostics feature.
Usually with the diagnostics disabled, the Symantec Agent will appear like this when you right click the icon:
Enable the diagnostics as below:
Right clicking the agent, will give you the additional options now:
Launch NS Web Config as below:
You will notice that the check mark for”Use default NS URL Schema” is not selected in the following window though you see the server information is displayed correctly:
If you look at the first tab ( Logs), you can see the error message ([HTTP Request Failed: No connection could be made because the target machine actively refused it) in the logs there.
In the NS Web Config tab, put the check mark for”Use default NS URL Schema” and hit ‘Update’.
Wait for a few minutes and go back to the Symantec Agent ‘Settings’ tab. Hit ‘Update’ and you will see a Computer GUID against Computer ID:
Once you are done, you may disable the Diagnostics by running the following command: