I believe you just need to set the env var OLLAMA_HOST
to 0.0.0.0:11434
and then restart Ollama.
Comment on Frustratingly bad at self hosting. Can someone help me access LLMs on my rig from my phone
BlackSnack@lemmy.zip 17 hours agoSever is my rig which is running windows. Phone is iPhone.
Exposing the port is something I’ve tried to do in the past with no success! When you say, change the bind address, do I do that in the windows defender firewall in the inbound rules section?
hedgehog@ttrpg.network 15 hours ago
Bane_Killgrind@lemmy.dbzer0.com 14 hours ago
Env var means “environment variable”, which is information that’s available to all programs you run.
In Linux these are used to set path info for your package manager, shell preferences, a bunch of stuff.
In Windows it’s the same. You need to look up how to set env vars in Windows
mierdabird@lemmy.dbzer0.com 17 hours ago
When on your wifi, try navigating in your browser to your windows computer’s address with a colon and the port 11434 at the end. Would look something like this:
If it works your browser will just load the text: Ollama is running
From there you just need to figure out how you want to interact with it. I personally pair it with OpenWebUI for the web interface
hedgehog@ttrpg.network 3 hours ago
I believe you set env vars on Windows through System Properties -> Advanced -> Environment Variables.