[GH-ISSUE #12684] Local connection unavailable - version 0.12.6 #54926

Closed
opened 2026-04-29 08:00:41 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Octanoz on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12684

What is the issue?

After updating to 0.12.6 any IDE extensions using ollama have been unable to connect to ollama.
Any attempts through CLI are unsuccessful as well. Running the list command opens the GUI instead running the CLI command properly, sometimes skipping the CLI command completely as can be seen below.

PS C:\Users> 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.
PS C:\Users> ollama -v
Warning: could not connect to a running Ollama instance
Warning: client version is 0.12.6
PS C:\Users> ollama list
PS C:\Users> ollama list
Error: ollama server not responding - timed out waiting for server to start
PS C:\Users> ollama list
Error: ollama server not responding - timed out waiting for server to start

Relevant log output

server.log:
Error: listen tcp 0.0.0.0:11434: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

app-2.log:
time=2025-10-17T23:49:15.239+02:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\rheye\AppData\Local\Programs\Ollama version=0.12.6 OS=Windows/10.0.26100
time=2025-10-17T23:49:15.240+02:00 level=INFO source=app.go:232 msg="initialized tools registry" tool_count=0
time=2025-10-17T23:49:15.245+02:00 level=INFO source=app.go:247 msg="starting ollama server"
time=2025-10-17T23:49:15.419+02:00 level=INFO source=app.go:279 msg="starting ui server" port=1686
time=2025-10-17T23:49:17.941+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:18.420+02:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s
time=2025-10-17T23:49:18.989+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:19.983+02:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\rheye\AppData\Local\Programs\Ollama version=0.12.6 OS=Windows/10.0.26100
time=2025-10-17T23:49:20.044+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:20.189+02:00 level=INFO source=eventloop.go:324 msg="sent focus request to existing instance"
time=2025-10-17T23:49:20.189+02:00 level=INFO source=app_windows.go:79 msg="existing instance found and focused, exiting"
time=2025-10-17T23:49:20.449+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737760449927700 version=0.12.6
time=2025-10-17T23:49:20.451+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737760451558400 version=0.12.6
time=2025-10-17T23:49:20.452+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=514.7µs request_id=1760737760451558400 version=0.12.6
time=2025-10-17T23:49:20.467+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1760737760467442700 version=0.12.6
time=2025-10-17T23:49:26.447+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:27.515+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:28.551+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b
time=2025-10-17T23:49:28.551+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737768551712200 version=0.12.6
time=2025-10-17T23:49:33.133+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737773133080400 version=0.12.6
time=2025-10-17T23:49:33.241+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=108.0106ms request_id=1760737773133080400 version=0.12.6
time=2025-10-17T23:49:33.866+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:40.212+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6
time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6
time=2025-10-17T23:49:40.346+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b
time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6
...
time=2025-10-17T23:49:40.547+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737780547217200 version=0.12.6
time=2025-10-17T23:49:40.563+02:00 level=ERROR source=ui.go:171 msg=site.serveHTTP error="Get \"http://127.0.0.1:11434/api/tags\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=500 http.d=10.0007937s request_id=1760737770562343000 version=0.12.6
...
time=2025-10-17T23:49:41.356+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781356855200 version=0.12.6
time=2025-10-17T23:49:41.356+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b
time=2025-10-17T23:49:41.356+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737781356855200 version=0.12.6
time=2025-10-17T23:49:41.369+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781369819100 version=0.12.6
time=2025-10-17T23:49:41.376+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/019942b7-0662-7d7d-8a45-4f24699e4f71 http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=9.8509ms request_id=1760737781366579700 version=0.12.6
time=2025-10-17T23:49:41.381+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781381804300 version=0.12.6
time=2025-10-17T23:49:41.395+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781395884000 version=0.12.6
...
time=2025-10-17T23:49:42.390+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737782390693900 version=0.12.6
time=2025-10-17T23:49:42.402+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP 
time=2025-10-17T23:49:43.355+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783355900200 version=0.12.6
time=2025-10-17T23:49:43.368+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=510.2µs request_id=1760737783367736400 version=0.12.6
time=2025-10-17T23:49:43.368+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b
time=2025-10-17T23:49:43.368+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=510.2µs request_id=1760737783367736400 version=0.12.6
time=2025-10-17T23:49:43.382+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=707.4µs request_id=1760737783381567900 version=0.12.6
time=2025-10-17T23:49:43.397+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=1.2149ms request_id=1760737783396614900 version=0.12.6
time=2025-10-17T23:49:43.412+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783412301200 version=0.12.6
time=2025-10-17T23:49:43.424+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=508.4µs request_id=1760737783424028100 version=0.12.6
time=2025-10-17T23:49:43.436+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783436229700 version=0.12.6
time=2025-10-17T23:49:43.442+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:43.448+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783448034200 version=0.12.6
time=2025-10-17T23:49:43.459+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783459359500 version=0.12.6
time=2025-10-17T23:49:43.472+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783472538800 version=0.12.6
time=2025-10-17T23:49:43.489+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=668µs request_id=1760737783488508700 version=0.12.6
time=2025-10-17T23:49:43.506+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783506264600 version=0.12.6
time=2025-10-17T23:49:43.523+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=655µs request_id=1760737783522625900 version=0.12.6
time=2025-10-17T23:49:43.538+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783538365700 version=0.12.6
time=2025-10-17T23:49:43.552+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=524.7µs request_id=1760737783551779200 version=0.12.6
time=2025-10-17T23:49:44.511+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:45.586+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:46.659+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:47.733+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:48.799+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:49.878+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:50.784+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=10.0028852s request_id=1760737780781769500 version=0.12.6
time=2025-10-17T23:49:50.927+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:49:51.979+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
...
time=2025-10-17T23:50:38.686+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:50:39.742+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"
time=2025-10-17T23:50:40.757+02:00 level=INFO source=app.go:323 msg="shutting down desktop server"
time=2025-10-17T23:50:40.757+02:00 level=INFO source=app.go:328 msg="shutting down ollama server"
time=2025-10-17T23:50:40.757+02:00 level=WARN source=server.go:122 msg="graceful terminate failed, killing" err="The handle is invalid."
time=2025-10-17T23:50:40.758+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1"

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.12.6

Originally created by @Octanoz on GitHub (Oct 17, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12684 ### What is the issue? After updating to 0.12.6 any IDE extensions using ollama have been unable to connect to ollama. Any attempts through CLI are unsuccessful as well. Running the `list` command opens the GUI instead running the CLI command properly, sometimes skipping the CLI command completely as can be seen below. ``` PS C:\Users> 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. PS C:\Users> ollama -v Warning: could not connect to a running Ollama instance Warning: client version is 0.12.6 PS C:\Users> ollama list PS C:\Users> ollama list Error: ollama server not responding - timed out waiting for server to start PS C:\Users> ollama list Error: ollama server not responding - timed out waiting for server to start ``` ### Relevant log output ```shell server.log: Error: listen tcp 0.0.0.0:11434: bind: An attempt was made to access a socket in a way forbidden by its access permissions. app-2.log: time=2025-10-17T23:49:15.239+02:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\rheye\AppData\Local\Programs\Ollama version=0.12.6 OS=Windows/10.0.26100 time=2025-10-17T23:49:15.240+02:00 level=INFO source=app.go:232 msg="initialized tools registry" tool_count=0 time=2025-10-17T23:49:15.245+02:00 level=INFO source=app.go:247 msg="starting ollama server" time=2025-10-17T23:49:15.419+02:00 level=INFO source=app.go:279 msg="starting ui server" port=1686 time=2025-10-17T23:49:17.941+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:18.420+02:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s time=2025-10-17T23:49:18.989+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:19.983+02:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\rheye\AppData\Local\Programs\Ollama version=0.12.6 OS=Windows/10.0.26100 time=2025-10-17T23:49:20.044+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:20.189+02:00 level=INFO source=eventloop.go:324 msg="sent focus request to existing instance" time=2025-10-17T23:49:20.189+02:00 level=INFO source=app_windows.go:79 msg="existing instance found and focused, exiting" time=2025-10-17T23:49:20.449+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737760449927700 version=0.12.6 time=2025-10-17T23:49:20.451+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737760451558400 version=0.12.6 time=2025-10-17T23:49:20.452+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=514.7µs request_id=1760737760451558400 version=0.12.6 time=2025-10-17T23:49:20.467+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1760737760467442700 version=0.12.6 time=2025-10-17T23:49:26.447+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:27.515+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:28.551+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b time=2025-10-17T23:49:28.551+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737768551712200 version=0.12.6 time=2025-10-17T23:49:33.133+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737773133080400 version=0.12.6 time=2025-10-17T23:49:33.241+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=108.0106ms request_id=1760737773133080400 version=0.12.6 time=2025-10-17T23:49:33.866+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:40.212+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6 time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6 time=2025-10-17T23:49:40.346+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b time=2025-10-17T23:49:40.346+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737780346129500 version=0.12.6 ... time=2025-10-17T23:49:40.547+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737780547217200 version=0.12.6 time=2025-10-17T23:49:40.563+02:00 level=ERROR source=ui.go:171 msg=site.serveHTTP error="Get \"http://127.0.0.1:11434/api/tags\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=500 http.d=10.0007937s request_id=1760737770562343000 version=0.12.6 ... time=2025-10-17T23:49:41.356+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781356855200 version=0.12.6 time=2025-10-17T23:49:41.356+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b time=2025-10-17T23:49:41.356+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=0s request_id=1760737781356855200 version=0.12.6 time=2025-10-17T23:49:41.369+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781369819100 version=0.12.6 time=2025-10-17T23:49:41.376+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/019942b7-0662-7d7d-8a45-4f24699e4f71 http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=9.8509ms request_id=1760737781366579700 version=0.12.6 time=2025-10-17T23:49:41.381+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781381804300 version=0.12.6 time=2025-10-17T23:49:41.395+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737781395884000 version=0.12.6 ... time=2025-10-17T23:49:42.390+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737782390693900 version=0.12.6 time=2025-10-17T23:49:42.402+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP time=2025-10-17T23:49:43.355+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783355900200 version=0.12.6 time=2025-10-17T23:49:43.368+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=510.2µs request_id=1760737783367736400 version=0.12.6 time=2025-10-17T23:49:43.368+02:00 level=WARN source=ui.go:1600 msg="failed to show model details" error="Post \"http://127.0.0.1:11434/api/show\": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it." model=qwen2.5-coder:14b time=2025-10-17T23:49:43.368+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/qwen2.5-coder:14b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=510.2µs request_id=1760737783367736400 version=0.12.6 time=2025-10-17T23:49:43.382+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=707.4µs request_id=1760737783381567900 version=0.12.6 time=2025-10-17T23:49:43.397+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=1.2149ms request_id=1760737783396614900 version=0.12.6 time=2025-10-17T23:49:43.412+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783412301200 version=0.12.6 time=2025-10-17T23:49:43.424+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=508.4µs request_id=1760737783424028100 version=0.12.6 time=2025-10-17T23:49:43.436+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783436229700 version=0.12.6 time=2025-10-17T23:49:43.442+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:43.448+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783448034200 version=0.12.6 time=2025-10-17T23:49:43.459+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783459359500 version=0.12.6 time=2025-10-17T23:49:43.472+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783472538800 version=0.12.6 time=2025-10-17T23:49:43.489+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=668µs request_id=1760737783488508700 version=0.12.6 time=2025-10-17T23:49:43.506+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783506264600 version=0.12.6 time=2025-10-17T23:49:43.523+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=655µs request_id=1760737783522625900 version=0.12.6 time=2025-10-17T23:49:43.538+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=0s request_id=1760737783538365700 version=0.12.6 time=2025-10-17T23:49:43.552+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/health http.pattern="GET /api/v1/health" http.status=200 http.d=524.7µs request_id=1760737783551779200 version=0.12.6 time=2025-10-17T23:49:44.511+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:45.586+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:46.659+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:47.733+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:48.799+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:49.878+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:50.784+02:00 level=INFO source=ui.go:171 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=10.0028852s request_id=1760737780781769500 version=0.12.6 time=2025-10-17T23:49:50.927+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:49:51.979+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" ... time=2025-10-17T23:50:38.686+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:50:39.742+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" time=2025-10-17T23:50:40.757+02:00 level=INFO source=app.go:323 msg="shutting down desktop server" time=2025-10-17T23:50:40.757+02:00 level=INFO source=app.go:328 msg="shutting down ollama server" time=2025-10-17T23:50:40.757+02:00 level=WARN source=server.go:122 msg="graceful terminate failed, killing" err="The handle is invalid." time=2025-10-17T23:50:40.758+02:00 level=ERROR source=server.go:194 msg="ollama exited" err="exit status 1" ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.12.6
GiteaMirror added the bug label 2026-04-29 08:00:41 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 17, 2025):

Another process had bound to the port. Run this in an Administrator PowerShell terminal and post the result:

netstat -bano | Select-String -Pattern 11434 -Context 0,1
netsh interface ipv4 show excludedportrange protocol=tcp
<!-- gh-comment-id:3417456680 --> @rick-github commented on GitHub (Oct 17, 2025): Another process had bound to the port. Run this in an Administrator PowerShell terminal and post the result: ``` netstat -bano | Select-String -Pattern 11434 -Context 0,1 netsh interface ipv4 show excludedportrange protocol=tcp ```
Author
Owner

@Octanoz commented on GitHub (Oct 17, 2025):

Protocol tcp Port Exclusion Ranges

Start Port    End Port
----------    --------
      5357        5357
     11307       11406
     11407       11506
     50000       50059     *

* - Administered port exclusions.
<!-- gh-comment-id:3417460607 --> @Octanoz commented on GitHub (Oct 17, 2025): ``` Protocol tcp Port Exclusion Ranges Start Port End Port ---------- -------- 5357 5357 11307 11406 11407 11506 50000 50059 * * - Administered port exclusions. ```
Author
Owner

@Octanoz commented on GitHub (Oct 18, 2025):

PS C:\Users> netstat -aon | findstr :11434
// No response
PS C:\WINDOWS\system32> netsh interface ipv4 delete excludedportrange protocol=tcp startport=11434 numberofports=1
>>
Element not found.

No change when running ollama as administrator

<!-- gh-comment-id:3418220363 --> @Octanoz commented on GitHub (Oct 18, 2025): ``` PS C:\Users> netstat -aon | findstr :11434 // No response ``` ``` PS C:\WINDOWS\system32> netsh interface ipv4 delete excludedportrange protocol=tcp startport=11434 numberofports=1 >> Element not found. ``` No change when running ollama as administrator
Author
Owner

@Octanoz commented on GitHub (Oct 18, 2025):

Rebooting the system seems to have resolved the issue.

<!-- gh-comment-id:3418250214 --> @Octanoz commented on GitHub (Oct 18, 2025): Rebooting the system seems to have resolved the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#54926