> ## Content Index
> Fetch the complete content index at: https://debugly.dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# ETIMEDOUT, ECONNREFUSED, EHOSTUNREACH: Three Diagnoses
- URL: https://debugly.dev/etimedout-econnrefused-ehostunreach-differences/
- Published: 2026-09-10T11:30:00.000Z
- Updated: 2026-10-17T05:48:54.000Z
- Description: Three socket errors that read as 'the network is broken' are in fact three different answers to three different questions.
- Author: Rohit Bhadani
- Tags: Error Autopsy, Networking, Debugging

| Error        | Packet reached peer? | Something answered? | Where to look                       |
| ------------ | -------------------- | ------------------- | ----------------------------------- |
| ECONNREFUSED | Yes                  | Yes, with RST       | Listener, port, service down        |
| ETIMEDOUT    | Maybe                | No                  | Firewall drop, host down, path      |
| EHOSTUNREACH | No                   | ICMP no route       | Routing, wrong address, VPC peering |

---

Published on [debugly.dev](https://debugly.dev/) by [Rohit Bhadani](https://debugly.dev/about/) | Founder of [Krova Cloud](https://krova.cloud/?ref=debugly.dev)