[GH-ISSUE #8761] ollama run error #67743

Closed
opened 2026-05-04 11:32:40 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @hdsnzsr on GitHub (Feb 1, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8761

What is the issue?

I want to run a model but ollama give a error like this
Error: Head "http://0.0.0.0%EF%BC%9A8157:11434/": dial tcp: lookup 0.0.0.0:8157: no such host
what should i do

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.5.4?

Originally created by @hdsnzsr on GitHub (Feb 1, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8761 ### What is the issue? I want to run a model but ollama give a error like this Error: Head "http://0.0.0.0%EF%BC%9A8157:11434/": dial tcp: lookup 0.0.0.0:8157: no such host what should i do ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.4?
GiteaMirror added the bug label 2026-05-04 11:32:40 -05:00
Author
Owner

@hdsnzsr commented on GitHub (Feb 1, 2025):

Image

<!-- gh-comment-id:2629018319 --> @hdsnzsr commented on GitHub (Feb 1, 2025): ![Image](https://github.com/user-attachments/assets/674420a2-92e8-4a00-b7db-1c3abae61cfb)
Author
Owner

@rjmalagon commented on GitHub (Feb 1, 2025):

Just for a little troubleshooting.
Did you run ollama serve first? It will run the daemon that you will need for the commands like ollama run and ollama pull

You can read about the diverse commands with ollama --help

I can elaborate more if needed.

<!-- gh-comment-id:2629033142 --> @rjmalagon commented on GitHub (Feb 1, 2025): Just for a little troubleshooting. Did you run `ollama serve` first? It will run the daemon that you will need for the commands like `ollama run` and `ollama pull` You can read about the diverse commands with `ollama --help` I can elaborate more if needed.
Author
Owner

@rick-github commented on GitHub (Feb 1, 2025):

OLLAMA_HOST is malformed. You have it set to ''0.0.0.0:8157:11434" where the first colon is unicode character FULLWIDTH COLON. ollama splits at the ASCII colon to get host and port, and the host is ' 0.0.0.0:8157' and the port is 11434. ' 0.0.0.0:8157' it not a resolvable hostname so the lookup fails.

<!-- gh-comment-id:2629059278 --> @rick-github commented on GitHub (Feb 1, 2025): `OLLAMA_HOST` is malformed. You have it set to ''0.0.0.0:8157:11434" where the first colon is unicode character [FULLWIDTH COLON](https://codepoints.net/U+FF1A?lang=en). ollama splits at the ASCII colon to get host and port, and the host is ' 0.0.0.0:8157' and the port is 11434. ' 0.0.0.0:8157' it not a resolvable hostname so the lookup fails.
Author
Owner

@jmorganca commented on GitHub (Feb 1, 2025):

Thanks @rick-github - @hdsnzsr let us know if this still doesn't fix it.

<!-- gh-comment-id:2629118702 --> @jmorganca commented on GitHub (Feb 1, 2025): Thanks @rick-github - @hdsnzsr let us know if this still doesn't fix it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67743