Use case

Ollama is the server. This is the phone.

PocketLLM Lite is an Android client that can run GGUF models itself or connect to Ollama on a computer, a homelab or the same phone. Here are the three setups, the exact endpoint, and the part most guides skip: what leaves the device and how to keep the port closed.

Default port 11434OpenAI-compatibleNo TLS by default

Three setups

Pick the one that matches your hardware.

1. Ollama on a computer

The useful pairing, and the one this guide covers step by step.

Larger models, faster generation and one server for several devices. The cost is a network dependency: prompts leave the phone and go to the computer you configure.

Best for: a home network, a homelab, a laptop on the same Wi-Fi.

2. Ollama on the same phone

Possible through a community Termux build. Not official, not certified.

PocketLLM Lite can use a loopback endpoint at 127.0.0.1:11434. The app does not bundle an Ollama server, and the project does not test performance, battery or stability for this setup.

Best for: experiments, not a travel plan.

3. No Ollama at all

The simplest and most private option for most people.

Download a GGUF model in the app and run it through llama.cpp. No server, no port, no LAN traffic. The model is smaller than a desktop model, and the phone does the work.

Best for: offline chat, document search and travel.

What the app adds

A client, not a replacement for the server.

Model discovery from the endpoint, OpenAI-compatible requests, document retrieval, personas, tools, voice and an audit log. The app does not manage Ollama’s models, updates or security.

Best for: a phone interface over a server you already run.

Setup A

Ollama on a computer, phone on the same network.

Commands are for a terminal on the computer. The app path follows the guide built into PocketLLM Lite: Settings → Providers → Ollama.

  1. Install Ollama on the computer.Official installers target macOS, Windows, Linux and Docker. Start it and confirm it runs locally.
  2. Pull a model and list it.ollama pull <model> then ollama list. Start with a small quantised model that fits the host; model availability and memory needs change upstream.
  3. Find the computer’s private LAN address.It is usually something like 192.168.x.x. On the same Wi-Fi, the phone must be able to reach that address.
  4. Make Ollama listen beyond loopback.Ollama binds to 127.0.0.1:11434 by default. Set OLLAMA_HOST=0.0.0.0:11434 and restart it. The Ollama FAQ documents this variable.
  5. Restrict the port at the firewall.Allow TCP 11434 only from your private network, not from the internet. Do not port-forward it on your router. The endpoint is plain HTTP with no authentication.
  6. Add the endpoint on the phone.Open Settings → Providers → Ollama, enter http://HOST_IP:11434, and confirm. The app warns before connecting to a remote host because prompts will leave the device.
  7. Refresh models and test.Choose a model returned by the endpoint, send a short prompt, then open the network audit and confirm the request went to the host you intended.
  8. Close it when you are done.Stop Ollama or remove the firewall rule. A server left listening is an exposure you do not need between sessions.

Reference

Endpoints and defaults.

SettingValue
Ollama default bind127.0.0.1:11434
Ollama default base URLhttp://localhost:11434
PocketLLM Lite default endpointhttp://127.0.0.1:11434
PocketLLM Lite LAN entryhttp://HOST_IP:11434
OpenAI-compatible APIServed under /v1 by Ollama; PocketLLM Lite can also expose its own /v1 server.
Strict OfflineBlocks non-loopback Ollama endpoints, including private LAN hosts. Loopback is allowed.
Encryption and authenticationNot provided by Ollama’s default HTTP endpoint or added by PocketLLM Lite.

Security

A server on your LAN is still a server.

What leaves the phone

When you chat with a remote Ollama model, PocketLLM Lite sends the prompt, the relevant conversation context and any attachments the request needs to the endpoint you configured. The request appears in the app’s network audit. Document embeddings requested from a remote OpenAI-compatible provider also send the embedding text.

What Ollama does not give you

The default endpoint is HTTP, not HTTPS, and it has no user authentication. Anyone who can reach the port can use the server. Binding to 0.0.0.0 is what makes the phone connection possible; it also makes the firewall your only access control. Use a trusted network, scope the rule to your LAN and close the port when you are finished.

If you need access outside the LAN

Do not expose port 11434 directly to the internet. Put the server behind a VPN or a TLS reverse proxy with authentication that you understand and maintain. PocketLLM Lite adds no encryption to the connection, so the transport security has to come from your network.

The simpler alternative

For a single phone, on-device GGUF inference avoids the server entirely. You trade model size for a smaller attack surface and a setup that works on a plane. The quickstart covers that path.

Questions

The parts people ask about.

What base URL do I enter for Ollama on my computer?

http://HOST_IP:11434, where HOST_IP is the computer’s private LAN address. Do not use localhost or 127.0.0.1 for another machine: on Android those point to the phone itself. The app’s own guide says the normal entry is http://HOST_IP:11434.

Why can my computer reach Ollama but my phone cannot?

Ollama listens on 127.0.0.1:11434 by default, so only the computer can reach it. Set OLLAMA_HOST=0.0.0.0:11434 and restart Ollama, then allow TCP 11434 through the computer firewall for your private network. The Ollama FAQ documents OLLAMA_HOST for network exposure.

Does PocketLLM Lite support Ollama on the phone itself?

It accepts a loopback endpoint such as http://127.0.0.1:11434, so a community Android or Termux Ollama build can be used if it is listening there. Android is not an official Ollama target, and this project does not bundle, test or certify that setup.

Does Strict Offline block Ollama?

It blocks non-loopback endpoints, including private LAN hosts. Loopback Ollama on the same phone is allowed. If you want to use Ollama on a computer, Strict Offline has to be off, and the app shows a warning before you connect to a remote host.

Is the connection encrypted?

Not by the app. Ollama’s default HTTP endpoint has no TLS or authentication, and PocketLLM Lite does not add either. Use it only on a trusted network, restrict the port with a firewall, and do not expose it to the public internet. If you need remote access, put it behind a VPN or a properly configured TLS reverse proxy that you understand.

Which is better: a model on the phone or Ollama on my laptop?

A laptop or desktop usually runs larger models faster, but it adds a server, a network and a security boundary to manage. A phone model travels with you and needs no network but is small. PocketLLM Lite supports both; choose per task. The project has not published a phone-versus-laptop benchmark.

Checked 2026-11-30 against the shipped app and the project documentation. Features that are implemented but not verified on a physical phone are marked as such.

Sources

Ready when you are. One endpoint, no surprises.

PocketLLM Lite is free and MIT licensed. The Ollama guide ships inside the app, and the security limits are documented.

Latest v1.0.61Android 7.0+Install guide & all builds