-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to host #43
Comments
Any comments on how to resolve this issue? |
Same issue |
You should use your container name, not the ip. |
Ollama is running on the host, not in a container. |
for ollama on host use host for network_mode in container: # docker-compose sample
version: "3"
services:
bot:
build:
context: ./
network_mode: "host" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I configured the bot to connect to
172.17.0.1:11434
but I got an error message that it could not connect.If I run
curl 172.17.0.1:11434
I getOllama is running
, so I know the server is up and running and reachable. I also know the firewall is set up properly because other Docker images can access Ollama just fine.Here's the error:
The text was updated successfully, but these errors were encountered: