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
Error: connect ECONNREFUSED ::1:1143402Likely causes
- Your computer has IPv6 enabled, but Ollama is listening to an IPv4 address.
03How to fix it
- Change the base URL in your Ollama credentials to
http://127.0.0.1:11434, the IPv4-specific local address, instead of thelocalhostalias.
04Official documentation
→Related errors
- Internal error: 400 Invalid value for 'content'This n8n AI Agent error can occur if the Prompt input contains a null value. Make sure your expressions reference valid fields and resolve to valid input rather than null.
- Error in sub-node Simple MemoryThis n8n AI Agent error displays when n8n runs into an issue with the Simple Memory sub-node, most often an older version of the node. Remove the Simple Memory node from your workflow and add it again, so that you use the latest version of the node.
- A Chat Model sub-node must be connectedThis n8n AI Agent error displays when n8n tries to execute the node without a Chat Model connected. Click the + Chat Model button at the bottom of the screen when the node is open, or the Chat Model + connector when the node is closed, and pick a Chat Model.
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