n8n - 💡(How to fix) Fix Local network ollama instance on n8n for ollama models crediential does not work all the time [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#30180Fetched 2026-05-11 03:26:46
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

Bug Description

I have ollama set up another pc using host 0.0.0.0 and I can access its local ip from any pc on my local network however when I launch n8n via docker it does not connect model all the time I did connected once or twice but it is not consistent what I have set up following

  • win 10 Ollama port 11434 allowed via firewall and I set OLLAMA_HOST="0.0.0.0" in windows env var
  • I can access ip:11434 and ip:11434/api/tags will present values on my browsers in devices connected in my local network
  • I do use docker to set up n8n and I did ping on docker of n8n and it did ping to ollama device, I believe there is issue with connection of ollama if you need more info I would provide thanks

To Reproduce

set up ollama on windows 10 and expose via host env value of 0.0.0.0 (firewall is added for port 11434) access via browser that verify ollama working create docker n8n container following guides and than try to connect ollama via ip but does not work as advertised I had working twice but only twice of trying 50+ tries to connect ollama credentials

Expected behavior

it should behave as expected provided in docs rarely does so.

Debug Info

I could not have debug info right now

Operating System

Mac osx for n8n docker and win 10 for ollama

n8n Version

latest

Node.js Version

latest

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

it should behave as expected provided in docs rarely does so.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING