[GH-ISSUE #6406] Ollama (WindowsSetup) fail to access from external ip #4024

Closed
opened 2026-04-12 14:54:09 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @MorrisLu-Taipei on GitHub (Aug 18, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6406

What is the issue?

Ollama ( docker version ) support external accesss n Windows 11, BUT not working in Ollama (WindowsSetup)

For example, the machine ip is 192.168.1.107
w/Ollama (WindowsSetup)

  1. 127.0.0.1:11434 works (o)
  2. 192.168.1.107:11434 not works (x)

But w/Ollama (Docker ver)

  1. 127.0.0.1:11434 works (o)
  2. 192.168.1.107:11434 works (o)

OS

Win11

GPU

AMD 7900XTX

CPU

Xeon

Ollama version

0.3.6

Originally created by @MorrisLu-Taipei on GitHub (Aug 18, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6406 ### What is the issue? Ollama ( docker version ) support external accesss n Windows 11, BUT not working in Ollama (WindowsSetup) For example, the machine ip is 192.168.1.107 w/Ollama (WindowsSetup) 1) 127.0.0.1:11434 works (o) 2) 192.168.1.107:11434 not works (x) But w/Ollama (Docker ver) 1) 127.0.0.1:11434 works (o) 2) 192.168.1.107:11434 works (o) ### OS Win11 ### GPU AMD 7900XTX ### CPU Xeon ### Ollama version 0.3.6
GiteaMirror added the bug label 2026-04-12 14:54:09 -05:00
Author
Owner

@elsatch commented on GitHub (Aug 19, 2024):

Have you tried following the instructions at the FAQ to setup the OLLAMA_HOST environmental variable to 0.0.0.0 ?

https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-windows

<!-- gh-comment-id:2295925356 --> @elsatch commented on GitHub (Aug 19, 2024): Have you tried following the instructions at the FAQ to setup the OLLAMA_HOST environmental variable to 0.0.0.0 ? https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-windows
Author
Owner

@elsatch commented on GitHub (Aug 19, 2024):

For additional info check: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-expose-ollama-on-my-network

<!-- gh-comment-id:2295935853 --> @elsatch commented on GitHub (Aug 19, 2024): For additional info check: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-expose-ollama-on-my-network
Author
Owner

@MorrisLu-Taipei commented on GitHub (Aug 19, 2024):

Thanks you, it really works to me
image

<!-- gh-comment-id:2297320282 --> @MorrisLu-Taipei commented on GitHub (Aug 19, 2024): Thanks you, it really works to me ![image](https://github.com/user-attachments/assets/f68152ec-fd0f-4abc-8d25-1b31216f2f32)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4024