[GH-ISSUE #9686] ollama can not run normally #68379

Closed
opened 2026-05-04 13:42:34 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @000b000 on GitHub (Mar 12, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9686

What is the issue?

env: windows 11
ollama version: 0.5.13
the error info:

PS E:> ollama list
Error: Head "http://127.0.0.1:11434/": read tcp 127.0.0.1:11114->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host.

i start ollama debug mode:
PS E:> $env:OLLAMA_DEBUG="1"
PS E:> & "ollama app.exe"

and app.log is below:
app.log

Relevant log output


OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.5.13

Originally created by @000b000 on GitHub (Mar 12, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9686 ### What is the issue? env: windows 11 ollama version: 0.5.13 the error info: PS E:\> ollama list Error: Head "http://127.0.0.1:11434/": read tcp 127.0.0.1:11114->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host. i start ollama debug mode: PS E:\> $env:OLLAMA_DEBUG="1" PS E:\> & "ollama app.exe" and app.log is below: [app.log](https://github.com/user-attachments/files/19210706/app.log) ### Relevant log output ```shell ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.13
GiteaMirror added the bugneeds more info labels 2026-05-04 13:42:36 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 12, 2025):

Server log would be more useful.

<!-- gh-comment-id:2717946424 --> @rick-github commented on GitHub (Mar 12, 2025): Server log would be more useful.
Author
Owner

@000b000 commented on GitHub (Mar 12, 2025):

Server log would be more useful.

Server log is empty. how to collect them?

<!-- gh-comment-id:2717953955 --> @000b000 commented on GitHub (Mar 12, 2025): > Server log would be more useful. Server log is empty. how to collect them?
Author
Owner

@rick-github commented on GitHub (Mar 12, 2025):

Is the ollama server running?

Open a Powershell window in administrator mode and run:

netstat -bano | Select-String -Pattern 11434 -Context 0,1
<!-- gh-comment-id:2717996297 --> @rick-github commented on GitHub (Mar 12, 2025): Is the ollama server running? Open a Powershell window in administrator mode and run: ``` netstat -bano | Select-String -Pattern 11434 -Context 0,1 ```
Author
Owner

@000b000 commented on GitHub (Mar 12, 2025):

Is the ollama server running?

Open a Powershell window in administrator mode and run:

netstat -bano | Select-String -Pattern 11434 -Context 0,1

i found the error reason , i have setup nat port forward in vmnat , after removing the setting , it works normally, Thank you !

<!-- gh-comment-id:2718015981 --> @000b000 commented on GitHub (Mar 12, 2025): > Is the ollama server running? > > Open a Powershell window in administrator mode and run: > > ``` > netstat -bano | Select-String -Pattern 11434 -Context 0,1 > ``` i found the error reason , i have setup nat port forward in vmnat , after removing the setting , it works normally, Thank you !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#68379