Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response from http://IP:11434 #126

Open
include opened this issue Jun 15, 2024 · 3 comments
Open

No response from http://IP:11434 #126

include opened this issue Jun 15, 2024 · 3 comments

Comments

@include
Copy link

include commented Jun 15, 2024

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 🫶

@AugustDev
Copy link
Owner

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?

@include
Copy link
Author

include commented Jun 23, 2024

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?

@ctuft
Copy link

ctuft commented Aug 19, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants