[GH-ISSUE #2238] Is there a flag to change the default port? #63324

Closed
opened 2026-05-03 12:59:56 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @thebigbone on GitHub (Jan 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2238

Hi there. I wanted to change the default port. Is it possible?

Originally created by @thebigbone on GitHub (Jan 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2238 Hi there. I wanted to change the default port. Is it possible?
Author
Owner

@thebigbone commented on GitHub (Jan 28, 2024):

I found it. Just had to set OLLAMA_HOST env with port.
Example: 0.0.0.0:8080

<!-- gh-comment-id:1913465127 --> @thebigbone commented on GitHub (Jan 28, 2024): I found it. Just had to set ``OLLAMA_HOST`` env with port. Example: ``0.0.0.0:8080``
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#63324