[GH-ISSUE #2801] Port should be changeable #48207

Closed
opened 2026-04-28 07:10:31 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @pankajkumar229 on GitHub (Feb 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2801

I could not change the port Ollama listens on. I hope we can run multiple instances on different ports.

Originally created by @pankajkumar229 on GitHub (Feb 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2801 I could not change the port Ollama listens on. I hope we can run multiple instances on different ports.
Author
Owner

@commit4ever commented on GitHub (Feb 28, 2024):

u can use multiple ports using smthing like this..

OLLAMA_HOST=10.1.0.1:114XX OLLAMA_MODELS={PATH} OLLAMA_DEBUG=1 ollama serve

<!-- gh-comment-id:1968319739 --> @commit4ever commented on GitHub (Feb 28, 2024): u can use multiple ports using smthing like this.. OLLAMA_HOST=10.1.0.1:114XX OLLAMA_MODELS={PATH} OLLAMA_DEBUG=1 ollama serve
Author
Owner

@pdevine commented on GitHub (Mar 1, 2024):

Going to close the issue.

<!-- gh-comment-id:1972288225 --> @pdevine commented on GitHub (Mar 1, 2024): Going to close the issue.
Author
Owner

@songsh commented on GitHub (Mar 4, 2024):

OLLAMA_MODELS={PATH} where to find model path ?

<!-- gh-comment-id:1975756176 --> @songsh commented on GitHub (Mar 4, 2024): OLLAMA_MODELS={PATH} where to find model path ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48207