enchanted
enchanted copied to clipboard
No response from http://IP:11434
Hi,
I am running ollama with a couple models in a small box. Enchanted MacOS is able to use it without issues but my iOS can't. It says "ollama is unreachable..." but the setting are the same. What might be the issue?
Thanks in advance and thanks for this great app 🫶
Hi @include to access Ollama on your phone you need to have an external IP address since Ollama is not running on your phone. One of the proposals in the README is to use ngrok to expose your ollama server though the internet. Have you tried it?
Hi @AugustDev thansk for your reply. in fact I've testes ngrok successfully but, my phone is using my wifi at home, the same network where I am running ollama. I think it shoulded work as other applications work. Could it be some strange bug?
The Ollama Mac app needs to be launched such that it permits network access outside of localhost. Quit Ollama first, then launch with:
OLLAMA_HOST=0.0.0.0 open /Applications/Ollama.app
Then, in the Enchanted settings on your iOS device, <ip address>:11434 should now work. Also, this URL can be used for testing. If Ollama was launched successfully, you should get the response "Ollama is running" from:
http://<ip address>:11434
Good luck!