Hi, as a beginner, I'm attempting to build a workflow that utilizes an AI agent node to connect with a self-hosted Ollama instance. My callin.io setup is running inside a Docker container, while Ollama is running directly on my Windows machine. Despite this, I'm encountering an "ECONNREFUSED" error when trying to access " http://localhost:11434 " as the base URL. Interestingly, I can ping this address successfully from the Docker container via the shell. Do you have any recommendations on how to resolve or troubleshoot this issue? Thanks!
It appears your topic is missing some crucial details. Could you please provide the following information, if relevant?
- callin.io version:
- Database (default: SQLite):
- callin.io EXECUTIONS_PROCESS setting (default: own, main):
- Running callin.io via (Docker, npm, callin.io cloud, desktop app):
- Operating system:
Hey Eric, welcome to the callin.io community
When you run callin.io inside docker, it gets its own network, and localhost
inside the container refers to the container itself, not the host (where you are running ollama).
You could try running ollama in docker as well, and then use http://ollama:11434
instead.
Thanks! I'm now one step further thanks to the advice. The http://ollama:11434
URL wasn't recognized, but I replaced it with the Docker IP address, and it worked perfectly. For anyone interested: Open your command prompt > type: docker ps
> type: docker inspect [Container_ID]
> find the "IPAddress" field.
This thread was automatically closed 7 days following the last response. New replies are no longer permitted.