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

cannot connect to windows host #24

Closed
Morrigan-Ship opened this issue Jun 15, 2024 · 2 comments
Closed

cannot connect to windows host #24

Morrigan-Ship opened this issue Jun 15, 2024 · 2 comments

Comments

@Morrigan-Ship
Copy link

Morrigan-Ship commented Jun 15, 2024

firewall disabled on windows.
android and windows are in same wifi network.
windows 11
android 13

cmd command:
ollama run serve

Host in App:
http://192.168.1.103:11434

error:
Issue: Invalid Host

@JHubi1
Copy link
Owner

JHubi1 commented Jun 15, 2024

Could you try following the steps described in #5 ?

@Morrigan-Ship
Copy link
Author

Morrigan-Ship commented Jun 15, 2024

i fixed via this way:

  1. opem CMD as Administrator
  2. setx OLLAMA_HOST 0.0.0.0 /M
  3. ollama serve
  4. put http://192.168.1.1:11434 in Android App in Host textbox

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

2 participants