[GH-ISSUE #12294] Ollama GUI app in macOS 26 unable to run if variable OLLAMA_HOST is set to a docker container #54685

Open
opened 2026-04-29 06:54:07 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @cafsenra on GitHub (Sep 15, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12294

What is the issue?

I had setup env variable OLLAMA_HOST (with command launchctl setenv OLLAMA_HOST="https://ollama.mydomain.local") to point to remote docker Ollama server, however when Ollama GUI APP was updated to version 0.11.11, it stops working.

This was disabled with this last update.

The logs it shows an attempt to listen ip address of ollama.mydomain.local, however I am unsure if this was from previous version or from current, because I had deleted the logs and try to generate new ones but the app does not do that with the env shared above set.

Haven't tested yet in windows, but I know this was working also in windows in v0.10.10 of Ollama GUI APP

Relevant log output

Error: listen tcp 192.168.XX.XXX:443: bind: can't assign requested address

OS

macOS, Docker

GPU

Apple, AMD

CPU

Apple, AMD

Ollama version

v0.10.11

Originally created by @cafsenra on GitHub (Sep 15, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12294 ### What is the issue? I had setup env variable OLLAMA_HOST (with command `launchctl setenv OLLAMA_HOST="https://ollama.mydomain.local"`) to point to remote docker Ollama server, however when Ollama GUI APP was updated to version 0.11.11, it stops working. This was disabled with this last update. The logs it shows an attempt to listen ip address of `ollama.mydomain.local`, however I am unsure if this was from previous version or from current, because I had deleted the logs and try to generate new ones but the app does not do that with the env shared above set. Haven't tested yet in windows, but I know this was working also in windows in v0.10.10 of Ollama GUI APP ### Relevant log output ```shell Error: listen tcp 192.168.XX.XXX:443: bind: can't assign requested address ``` ### OS macOS, Docker ### GPU Apple, AMD ### CPU Apple, AMD ### Ollama version v0.10.11
GiteaMirror added the appmacosbug labels 2026-04-29 06:54:08 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 15, 2025):

If you are running the ollama server on a remote machine, you don't need to start the ollama server on your local machine. You just set OLLAMA_HOST for your client:

% OLLAMA_HOST=https://ollama.mydomain.local ollama list

I assume you are running a proxy frontend on the remote server that implements SSL.

<!-- gh-comment-id:3293962981 --> @rick-github commented on GitHub (Sep 15, 2025): If you are running the ollama server on a remote machine, you don't need to start the ollama server on your local machine. You just set OLLAMA_HOST for your client: ``` % OLLAMA_HOST=https://ollama.mydomain.local ollama list ``` I assume you are running a proxy frontend on the remote server that implements SSL.
Author
Owner

@cafsenra commented on GitHub (Sep 15, 2025):

If you are running the ollama server on a remote machine, you don't need to start the ollama server on your local machine. You just set OLLAMA_HOST for your client:

% OLLAMA_HOST=https://ollama.mydomain.local ollama list

I assume you are running a proxy frontend on the remote server that implements SSL.

Yes you are right, ollama cli app it works, however since v0.11.10, the ollama gui app it doesn't works if you set a global variable for the system as I explained before.
In previous version, the gui app use the remote ollama without any issue.

<!-- gh-comment-id:3293983011 --> @cafsenra commented on GitHub (Sep 15, 2025): > If you are running the ollama server on a remote machine, you don't need to start the ollama server on your local machine. You just set OLLAMA_HOST for your client: > ``` > % OLLAMA_HOST=https://ollama.mydomain.local ollama list > ``` > I assume you are running a proxy frontend on the remote server that implements SSL. Yes you are right, ollama cli app it works, however since v0.11.10, the ollama gui app it doesn't works if you set a global variable for the system as I explained before. In previous version, the gui app use the remote ollama without any issue.
Author
Owner

@utunga commented on GitHub (Sep 18, 2025):

This should be an option in settings for the gui app. The fact it is not seems like an anti-pattern?

<!-- gh-comment-id:3305431503 --> @utunga commented on GitHub (Sep 18, 2025): This should be an option in settings for the gui app. The fact it is not seems like an anti-pattern?
Author
Owner

@sonofagl1tch commented on GitHub (Nov 19, 2025):

pr for this in the UI https://github.com/ollama/ollama/pull/13147

<!-- gh-comment-id:3553457372 --> @sonofagl1tch commented on GitHub (Nov 19, 2025): pr for this in the UI https://github.com/ollama/ollama/pull/13147
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#54685