Skip to main content

Here I have attached the log file for reference.

"success": false,  "error_code": "2001",  "errors": "Unable to connect to the remote server"

 

Why it is failed and how to fix this issue.

Looks like a network issue, server might be down or unreachable. As for the lunchtime bonus prediction for today, let’s hope for better luck than this connection error!


I ran into the same issue when setting up the Discovery Agent for Windows—everything seemed fine, but it just wouldn't update data in Freshservice. After digging through the logs, I hit the same error_code: 2001 - "Unable to connect to the remote server."

Here’s what helped me fix it:

1️⃣ Checked Network Connectivity – Made sure the system had internet access and could reach Freshservice servers.
2️⃣ Firewall & Proxy Settings – Turned out, a firewall was blocking the agent’s connection. Whitelisting the Freshservice domain solved it.
3️⃣ Verified Freshservice URL – Opened it in a browser to confirm it was accessible.
4️⃣ Reviewed Agent Configurations – Ensured correct credentials and endpoint settings.
5️⃣ Restarted & Reinstalled – A fresh installation finally did the trick!

If you're still stuck, checking Freshservice logs or reaching out to their support might provide more insights. Hope this helps!


The error "Unable to connect to the remote server" (error_code: 2001) usually occurs due to network issues, incorrect server settings, or firewall restrictions. To fix it, check your internet connection, verify the server is running and accessible, ensure firewall/security settings aren’t blocking the connection, and confirm the correct server address and port are used. Restarting the server or network devices may also help.


Reply