edit /etc/systemd/system/ollama.service.d/override.conf
or in Aug 2024 /etc/systemd/system/ollama.service.d/override.conf
[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"
Environment="OLLAMA_ORIGINS=*"
and restart:
sudo systemctl daemon-reload
sudo systemctl restart ollama
Then try running from http://192.168.xx.xx:11434/