Edit Ollama service
sudo systemctl edit ollama.service
Add:
[Service]
Environment="OLLAMA_HOST=0.0.0.0"
Restart Ollama service:
sudo systemctl daemon-reload && sudo systemctl restart ollama
Edit Ollama service
sudo systemctl edit ollama.service
Add:
[Service]
Environment="OLLAMA_HOST=0.0.0.0"
Restart Ollama service:
sudo systemctl daemon-reload && sudo systemctl restart ollama