Info::IA:ollama écoute autrement que sur localhost
De wiki_pcwiki2
KEYWORDS: OLLAMA, LISTEN, LOCALHOST, 0.0.0.0
Le 24/03/2025: Si l'on veut que ollama écoute sur toutes les interfaces réseau: Editer le fichier /etc/systemd/system/ollama.service et rajouter OLLAMA_HOST: Environment="OLLAMA_HOST=0.0.0.0" Ensuite: systemctl daemon-reload;systemctl restart ollama
Pour tester ollama: curl http://xx.yy.zz.www:11434/api/tags
Ref: https://www.linuxtricks.fr/wiki/ia-installer-un-modele-de-langage-llm-avec-ollama