Use host.docker.internal to reach local Ollama from Mule A developer documented that MuleSoft's Inference Connector fails with a connection-refused error when pointed at a local Ollama instance via http://localhost:11434/v1, and that switching the openAICompatibleURL to http://host.docker.internal:11434/v1 resolves it. The working configuration runs the qwen2.5:14b model through the OpenAI-compatible connection in Mule 4 Community kernel 4.12.0, returning a 200 status with the model output in the response field. The flow failed with a connection refused error when the configuration used http://localhost:11434/v1 as the base URL. The MuleSoft Inference Connector enables text generation workflows docs https://docs.mulesoft.com/mulesoft-inference-connector/latest/ . { "prompt": "Reply with exactly one word: pong" }