[GH-ISSUE #14315] Support for changing OLLAMA_HOST for ollama launch command #71376

Closed
opened 2026-05-05 01:25:17 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @thermalWinds on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14315

Currently Ollama launch command hardcodes OLLAMA_HOST to localhost, feature to be able to change host is requested.

Originally created by @thermalWinds on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14315 Currently Ollama launch command hardcodes OLLAMA_HOST to localhost, feature to be able to change host is requested.
GiteaMirror added the feature request label 2026-05-05 01:25:17 -05:00
Author
Owner

@ParthSareen commented on GitHub (Feb 19, 2026):

Hey! It shouldn't be harcoded - it'll pickup the host when running launch. What do you see?

<!-- gh-comment-id:3924125005 --> @ParthSareen commented on GitHub (Feb 19, 2026): Hey! It shouldn't be harcoded - it'll pickup the host when running launch. What do you see?
Author
Owner

@thermalWinds commented on GitHub (Feb 19, 2026):

Hey! It shouldn't be harcoded - it'll pickup the host when running launch. What do you see?

@ParthSareen It says "There is an issue with the selected model (<model_name>). It may not exist or you may not have access to it. Run /model to pick a different model."

My setup; I am using ollama launch claude with ollama hosted on my LAN server. Setting the Global OLLAMA_HOST variable and then running via terminal works just fine; but when I use ollama launch claude command it does not work and give above error.

<!-- gh-comment-id:3924208398 --> @thermalWinds commented on GitHub (Feb 19, 2026): > Hey! It shouldn't be harcoded - it'll pickup the host when running launch. What do you see? @ParthSareen It says "There is an issue with the selected model (<model_name>). It may not exist or you may not have access to it. Run /model to pick a different model." My setup; I am using `ollama launch claude` with ollama hosted on my LAN server. Setting the Global OLLAMA_HOST variable and then running via terminal works just fine; but when I use `ollama launch claude` command it does not work and give above error.
Author
Owner

@ParthSareen commented on GitHub (Feb 19, 2026):

can you try OLLAMA_HOST=... ollama launch claude?

<!-- gh-comment-id:3924230901 --> @ParthSareen commented on GitHub (Feb 19, 2026): can you try `OLLAMA_HOST=... ollama launch claude`?
Author
Owner

@thermalWinds commented on GitHub (Feb 19, 2026):

The issue was a Client and Server Ollama version mismatch. It may be considered resolved, thank you @ParthSareen for your prompt attention to matter.

<!-- gh-comment-id:3924753417 --> @thermalWinds commented on GitHub (Feb 19, 2026): The issue was a Client and Server Ollama version mismatch. It may be considered resolved, thank you @ParthSareen for your prompt attention to matter.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71376