[GH-ISSUE #677] Connecting the client to the server #306

Closed
opened 2026-04-12 09:51:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @skorokithakis on GitHub (Oct 2, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/677

Is there any way to specify the hostname of the server for ollama run to connect to? I can use the HTTP API, but what about the cli client? I haven't been able to find this info in the docs.

Originally created by @skorokithakis on GitHub (Oct 2, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/677 Is there any way to specify the hostname of the server for `ollama run` to connect to? I can use the HTTP API, but what about the cli client? I haven't been able to find this info in the docs.
Author
Owner

@technovangelist commented on GitHub (Oct 2, 2023):

Set the OLLAMA_HOST envvar to connect to a different host.

<!-- gh-comment-id:1743682979 --> @technovangelist commented on GitHub (Oct 2, 2023): Set the OLLAMA_HOST envvar to connect to a different host.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#306