[GH-ISSUE #4999] Error: Head "http://127.0.0.1:11434/": EOF #28922

Closed
opened 2026-04-22 07:28:35 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @HyperUpscale on GitHub (Jun 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4999

What is the issue?

C:\Users\win>ollama list
Error: Head "http://127.0.0.1:11434/": EOF

C:\Users\win>ollama -v
Warning: could not connect to a running Ollama instance
Warning: client version is 0.1.43

C:\Users\win>ollama serve
Error: listen tcp 127.0.0.1:11434: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

app.log:
time=2024-06-12T18:35:12.068+08:00 level=INFO source=server.go:135 msg="starting server..."
time=2024-06-12T18:35:12.069+08:00 level=INFO source=server.go:121 msg="started ollama server with pid 15024"
time=2024-06-12T18:35:12.069+08:00 level=INFO source=server.go:123 msg="ollama server logs C:\Users\win\AppData\Local\Ollama\server.log"
time=2024-06-12T18:35:12.116+08:00 level=WARN source=server.go:157 msg="server crash 21 - exit code 1 - respawning"

config.json:
{"id":"a73328f3-b63f-49a0-af7c-1f37f65ff305","first-time-run":true}

MAYBE I AM DOING SOMETHING WRONG... but 0.1.42 was working... with the same settings

image

OS

Windows

GPU

Nvidia

CPU

No response

Ollama version

0.1.43

Originally created by @HyperUpscale on GitHub (Jun 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4999 ### What is the issue? C:\Users\win>ollama list Error: Head "http://127.0.0.1:11434/": EOF C:\Users\win>ollama -v Warning: could not connect to a running Ollama instance Warning: client version is 0.1.43 C:\Users\win>ollama serve Error: listen tcp 127.0.0.1:11434: bind: An attempt was made to access a socket in a way forbidden by its access permissions. app.log: time=2024-06-12T18:35:12.068+08:00 level=INFO source=server.go:135 msg="starting server..." time=2024-06-12T18:35:12.069+08:00 level=INFO source=server.go:121 msg="started ollama server with pid 15024" time=2024-06-12T18:35:12.069+08:00 level=INFO source=server.go:123 msg="ollama server logs C:\\Users\\win\\AppData\\Local\\Ollama\\server.log" time=2024-06-12T18:35:12.116+08:00 level=WARN source=server.go:157 msg="server crash 21 - exit code 1 - respawning" config.json: {"id":"a73328f3-b63f-49a0-af7c-1f37f65ff305","first-time-run":true} MAYBE I AM DOING SOMETHING WRONG... but 0.1.42 was working... with the same settings ![image](https://github.com/ollama/ollama/assets/126105457/23f134be-8adf-482b-bf15-c683ad1abafc) ### OS Windows ### GPU Nvidia ### CPU _No response_ ### Ollama version 0.1.43
GiteaMirror added the bug label 2026-04-22 07:28:35 -05:00
Author
Owner

@HyperUpscale commented on GitHub (Jun 12, 2024):

Sorry - MY BET!

I was pasting ChatGPT instructions so I messed up my windows networking
I had done: netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=11434 connectaddress=127.0.0.1 connectport=11434

THAT WAS THE PROBLEM... @_@

Sorry!

The solution was

netsh interface portproxy reset

<!-- gh-comment-id:2162868029 --> @HyperUpscale commented on GitHub (Jun 12, 2024): Sorry - MY BET! I was pasting ChatGPT instructions so I messed up my windows networking I had done: `netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=11434 connectaddress=127.0.0.1 connectport=11434` THAT WAS THE PROBLEM... @_@ Sorry! The solution was ### netsh interface portproxy reset
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28922