n8n errors / Connectivity

getaddrinfo ENOTFOUND

platform: n8n / category: Connectivity / code: ENOTFOUND

Cause

DNS resolution failed - the hostname cannot be resolved to an IP from within the n8n runtime.

Fix

Confirm the hostname is correct and reachable from the n8n host (nslookup/dig). For Docker, check the container's DNS config or use host networking. For internal hostnames, add to /etc/hosts or use the IP directly. On n8n Cloud, the domain must be publicly resolvable - .local hostnames never resolve.

Source thread →

Part of the Automation Error Index — n8n errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem