How to Set OLLAMA_HOST on Windows, Mac and Linux
OLLAMA_HOST is the environment variable that controls which network address Ollama’s server listens on. By default Ollama binds only to localhost (127.0.0.1:11434), meaning only processes on the same machine can connect. Changing OLLAMA_HOST lets you make Ollama accessible to other devices on your local network, a Docker container, or any other host — which is … Read more