ivanfioravanti / chatbot-ollama

Chatbot Ollama is an open source chat UI for Ollama.
Other
1.41k stars 233 forks source link

I get an error, but the service of ollama/ollama is running #41

Closed she1110 closed 6 months ago

she1110 commented 7 months ago

} [TypeError: fetch failed] { cause: [Error: getaddrinfo ENOTFOUND host.docker.internal] { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'host.docker.internal' }

insunaa commented 6 months ago

Use docker run --add-host=host.docker.internal:host-gateway -p 3000:3000 ghcr.io/ivanfioravanti/chatbot-ollama:main and make sure that the ollama service listens on 0.0.0.0 (default is 127.0.0.1, I believe)

ivanfioravanti commented 6 months ago

@insunaa is right here.