[GH-ISSUE #6134] can't change ollama server address :127.0.0.1:11434 after binary ollama install #3830

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

Originally created by @cnopens on GitHub (Aug 2, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6134

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

i install ollama using binary package ,find that ollama server address 127.0.0.1:11434 ,ip why can't change it ? who run into the problem ? later i only used nginx proxy ,but ,open-webui reponse-webui was very slow vs command consle

OS

Linux

GPU

Intel

CPU

Intel

Ollama version

0.3.2

Originally created by @cnopens on GitHub (Aug 2, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6134 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? i install ollama using binary package ,find that ollama server address 127.0.0.1:11434 ,ip why can't change it ? who run into the problem ? later i only used nginx proxy ,but ,open-webui reponse-webui was very slow vs command consle ### OS Linux ### GPU Intel ### CPU Intel ### Ollama version 0.3.2
GiteaMirror added the question label 2026-04-12 14:39:52 -05:00
Author
Owner

@cnopens commented on GitHub (Aug 2, 2024):

add: open-webui docker don't reconigze 127.0.0.1:11434 ,not communicate ,only counld use nginx proxy! who know it

<!-- gh-comment-id:2264460365 --> @cnopens commented on GitHub (Aug 2, 2024): add: open-webui docker don't reconigze 127.0.0.1:11434 ,not communicate ,only counld use nginx proxy! who know it
Author
Owner

@rick-github commented on GitHub (Aug 2, 2024):

You can change the IP address that ollama binds to by setting OLLAMA_HOST, see here. If you are running open-webui in a docker container, you need to either configure open-webui to use host networking, or set the IP address of the ollama connection to the external IP of the host. An alternative is to run both ollama and open-webui in docker containers, see https://github.com/ollama/ollama/issues/6072#issuecomment-2258419074

<!-- gh-comment-id:2265422406 --> @rick-github commented on GitHub (Aug 2, 2024): You can change the IP address that ollama binds to by setting `OLLAMA_HOST`, see [here](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-expose-ollama-on-my-network). If you are running open-webui in a docker container, you need to either configure open-webui to use host networking, or set the IP address of the ollama connection to the external IP of the host. An alternative is to run both ollama and open-webui in docker containers, see https://github.com/ollama/ollama/issues/6072#issuecomment-2258419074
Author
Owner

@dhiltgen commented on GitHub (Aug 9, 2024):

@cnopens if the above suggestions don't help you resolve, please share a little more information about what you're trying to do and what the topology looks like (are you running them both in separate containers, etc.)

<!-- gh-comment-id:2278764543 --> @dhiltgen commented on GitHub (Aug 9, 2024): @cnopens if the above suggestions don't help you resolve, please share a little more information about what you're trying to do and what the topology looks like (are you running them both in separate containers, etc.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3830