Skip to content

Glossary: Node.js Basics

ECONNREFUSED

Also written: connection refused

An error code meaning nothing is listening at that address and port, so the server is down or the URL is wrong. With `fetch` it is found in `err.cause.code`.

Where the book teaches it

Related terms

Error codefetchPort