WebUI could not connect to Ollama - Windows host #2181

Closed
opened 2025-11-11 15:01:49 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @akamalov on GitHub (Sep 24, 2024).

Environment:

Ollama is a native service on Windows:

ollama version is 0.3.11

D:\>

Open-WebUI using container:

D:\>docker ps -a
CONTAINER ID   IMAGE                                COMMAND               CREATED             STATUS
   PORTS                      NAMES
5c0b01dc1fb3   ollama/ollama                        "/bin/ollama serve"   32 minutes ago      Up 32 minutes
   0.0.0.0:12434->11434/tcp   ollama
37f5cb5061b2   ghcr.io/open-webui/open-webui:main   "bash start.sh"       About an hour ago   Up About an hour (healthy)                              ollama-webui

D:\>

I can connect to Ollama using cURL:

D:\>curl 127.0.0.1:11434
Ollama is running
D:\>

However Open-WebUI cannot:

image

What could be the problem?

Originally created by @akamalov on GitHub (Sep 24, 2024). *Environment*: Ollama is a native service on Windows: ```D:\>ollama --version ollama version is 0.3.11 D:\> ``` Open-WebUI using container: ``` D:\>docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5c0b01dc1fb3 ollama/ollama "/bin/ollama serve" 32 minutes ago Up 32 minutes 0.0.0.0:12434->11434/tcp ollama 37f5cb5061b2 ghcr.io/open-webui/open-webui:main "bash start.sh" About an hour ago Up About an hour (healthy) ollama-webui D:\> ``` I can connect to Ollama using cURL: ``` D:\>curl 127.0.0.1:11434 Ollama is running D:\> ``` However Open-WebUI cannot: ![image](https://github.com/user-attachments/assets/0ea6128d-ff48-4f12-8c89-d58f76348e4f) What could be the problem?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2181