Ollama · Server and deployment
Listen on all network interfaces
Allow other machines to reach the server. By default it listens only on localhost.
OLLAMA_HOST=0.0.0.0:11434 ollama serve
Caution: Ollama has no authentication. Anyone who can reach this port can use your models, so put it behind a firewall or a reverse proxy.