Replies: 3 comments 9 replies
-
|
Localhost inside the backend container isn't the localhost of your host PC. You have to find the network interface the backend is using, which IP your host device has on this interface and input this IP into the ollama URL environment variable. Let me know how it goes and if you need more help. |
Beta Was this translation helpful? Give feedback.
-
|
I have also changed the IP to the IP address of the Ollama server in docker file, but it still trying to access from http://0.0.0.0:11434 Model nomic-embed-text:v1.5 does not exist and could not be pulled: Post "http://0.0.0.0:11434/api/pull": dial tcp 0.0.0.0:11434: connect: connection refused Below is from the docker-compose.yaml file services: Where else needed to be configure ? |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry for the late reply, but localhost inside the backend docker isn't your hosts localhost. The container has its own loopback device. Check the new compose files to see a working example with a new ollama instance inside the right docker network or connect to your host using the right network interface (not loopback). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am able to connect ollama using
http://0.0.0.0:11434/
and return
Ollama is running
but having error below, anyone know how to resolve this ?
Model nomic-embed-text:v1.5 does not exist and could not be pulled: Post "http://0.0.0.0:11434/api/pull": dial tcp 0.0.0.0:11434: connect: connection refused
Beta Was this translation helpful? Give feedback.
All reactions