JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
241 stars 17 forks source link

cannot connect to windows host #24

Closed Morrigan-Ship closed 1 week ago

Morrigan-Ship commented 1 week ago

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 commented 1 week ago

Could you try following the steps described in #5 ?

Morrigan-Ship commented 1 week ago

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