ERR_CONNECTION_REFUSEDWhat ERR_CONNECTION_REFUSED means
At the TCP level, your connection attempt (SYN) was answered with a reset (RST) or an ICMP port-unreachable message. The host is up and routable, but no process is bound to that port — or a firewall is configured to REJECT rather than silently DROP. That is why the error appears instantly instead of hanging: something actively said no.
Because the IP answered, DNS resolved and routing works. The question becomes: did you reach the right machine on the right port? The usual answers are a wrong or moved port, a service that crashed or never started, a server bound to a local-only interface, or a stale DNS record pointing at an IP that no longer runs the service.
One nuance for proxy users: Chrome reports proxy-hop failures as ERR_PROXY_CONNECTION_FAILED, so ERR_CONNECTION_REFUSED in Chrome usually means a direct, unproxied connection was rejected. In command-line tools and libraries, though, 'Connection refused' (ECONNREFUSED) with a proxy configured points at the proxy address — that is the only TCP connection your client makes.