The short version
- 01Check the exact URL, including the protocol and any explicit port.
- 02Open another website to establish whether the failure affects one address or general browsing.
- 03Compare the failing URL in another browser without changing the address.
- 04For localhost, start the intended service and use the URL and port reported by its startup output.
- 05Use Google's shared connection procedure when the failure follows Chrome or the network.
- 06Send persistent failures to the site owner with the URL and comparison results.
Raw message
ERR_CONNECTION_REFUSED
Likely causes
- The requested connection is refused or blocked.
- A local development service may not be running at the address and port being opened.
- A browser or network control may require investigation through Chrome's shared connection procedure.
Compare one address with general browsing
Google explains ERR_CONNECTION_REFUSED as a connection that was not allowed or was blocked. Our first check is the exact URL, followed by another website and the same URL in another browser. Those comparisons help the owner separate the failing destination from a broader connection or browser problem.
Local development: verify the listening service and port
For a localhost URL, our recommendation is to check the intended server's startup output and open its actual address and port. Node's system-error reference explains that ECONNREFUSED commonly occurs when a target service is inactive. That is useful server-side context; Node's code is not a definition of every Chrome connection failure.
Sources and review notes
Checked on . Google supplies the browser error meaning and shared connection procedure. Node's ECONNREFUSED documentation is used only for the local-server example. The scope comparisons and checking startup output are editorial guidance. Glitchary is independent of Google.