1
Expose Ollama to your network
The steps differ by operating system.Windows:
- Open the Ollama app and go to Settings
- Enable Expose Ollama to the network
- Make sure Ollama is running
- Start Ollama with environment variables so it listens on the network
- Set
OLLAMA_HOST=0.0.0.0, then restart or relaunch the Ollama server
2
Find the host IP address
Check your computer’s Wi-Fi adapter IP:
- Windows: Open Command Prompt, type
ipconfig, and look for the IPv4 Address under “Wireless LAN adapter Wi-Fi” - macOS: Go to System Preferences > Network, select Wi-Fi, and note the IP address
- Linux: Open Terminal and type
ifconfigorip a
3
Enter the connection address in LMSA
Open LMSA Settings and enter the host IP address where Ollama is running, plus the Ollama port. The default port is 11434.Example:
http://192.168.1.25:114344
Start chatting
Tap Apply, return to the chat, and send your first message.
If you have trouble connecting, see the connection troubleshooting guide.
