mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-28 17:59:25 -05:00
[GH-ISSUE #7197] Docker Ollama Server Connection issue. MacOS Client, Ubuntu Ollama Server Local Network #101647
Reference in New Issue
Block a user
Originally created by @andrewtvuong on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7197
Hi all,
Not finding much information on Docker Ollama Server connection issues when the client is MacOS and Ubuntu Ollama Server on Local Network.
I can curl from Docker's Terminal. Ollama running. I can curl from my Macbook.
I used
docker run -p 3000:8080 -e OLLAMA_BASE_URL=192.168.1.11:11434 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:mainI have tried
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=192.168.1.11:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main, and localhost:8080 I get site can't be reached.I've deleted the image, and redownloaded.
I've cleared browser cache.
I've deleted the Ollama entry in the UI and manually typed in the 192.168.1.11:11434.
On Ollama server side, I have set to 0.0.0.0
Is anyone else experiencing connection issues to ollama server when the client is macos to ubuntu server?