on-internet
← Community

Connect to local Ollama Server from n8n Docker Container on Linux Arch

Stack Overflow ·

Cannot get through my docker container and connect to my local ollama server. Ollama server is up and running : http://localhost:11434 returns "Ollama is running" When adding n8n credentials for ollama, I get the following : Couldn't connect with these settings ECONNREFUSED Here's my n8n credentials config : Base URL : http://host.docker.internal:11434 API Key : not needed for local install and running models (?!) Allowed HTTP Request Domains : All According to what I've found, looks like we need to provide manually the host.docker.internal:host-gateway flags for linux hosts. This can be done

Comments

Sign in or sign up to comment and upvote.

No comments yet.