n8n · Ollama Chat Model node

Error: connect ECONNREFUSED ::1:11434

Short answer

This n8n Ollama error occurs when your computer has IPv6 enabled but Ollama is listening on an IPv4 address. Change the base URL in your Ollama credentials to http://127.0.0.1:11434, the IPv4-specific local address, instead of the localhost alias.

VerifiedLast verified

01Error text

n8n error
Error: connect ECONNREFUSED ::1:11434

02Likely causes

  • Your computer has IPv6 enabled, but Ollama is listening to an IPv4 address.

03How to fix it

  1. Change the base URL in your Ollama credentials to http://127.0.0.1:11434, the IPv4-specific local address, instead of the localhost alias.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for n8n work:Open n8n jobsn8n rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.