JHubi1 / ollama-app

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

cannot connect to windows host #24

Closed Morrigan-Ship closed 5 months ago

Morrigan-Ship commented 5 months 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 5 months ago

Could you try following the steps described in #5 ?

Morrigan-Ship commented 5 months 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