[GH-ISSUE #6974] Ollama on Windows occupied all available ports when downloading #66463

Open
opened 2026-05-04 06:23:41 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @TheStarAlight on GitHub (Sep 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6974

What is the issue?

When I'm trying to download a model from Ollama for Windows, after a while, my browsers cannot visit any other website, showing "connection refused". And the download would also fail (after the first part of this model finished, the next part cannot start and reports error).
The log ~/AppData/Local/Ollama/server.log shows Error: listen tcp 127.0.0.1:11434: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
I also used the netstat, which shows that port number up to 65535 is occupied by ollama.
Is there any way to solve it?

OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

Win 0.3.12

Originally created by @TheStarAlight on GitHub (Sep 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6974 ### What is the issue? When I'm trying to download a model from Ollama for Windows, after a while, my browsers cannot visit any other website, showing "connection refused". And the download would also fail (after the first part of this model finished, the next part cannot start and reports error). The log `~/AppData/Local/Ollama/server.log` shows `Error: listen tcp 127.0.0.1:11434: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.` I also used the `netstat`, which shows that port number up to 65535 is occupied by ollama. Is there any way to solve it? ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version Win 0.3.12
GiteaMirror added the bug label 2026-05-04 06:23:46 -05:00
GiteaMirror added the networkingwindows labels 2026-05-04 06:34:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#66463