OLLAMA_HOST=0.0.0.0:11434 ollama serve

Category: AI Agents & MCP

OLLAMA_HOST=0.0.0.0:11434 ollama serve

Start Ollama server exposed on all network interfaces

By default Ollama only listens on localhost. Setting OLLAMA_HOST to 0.0.0.0 makes it accessible from other machines on your network — useful for running Ollama on a powerful desktop and connecting from a laptop. Secure with a firewall rule.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.