PortGate

Resources · Troubleshooting · Q&A

Ollama answers on the public IP after the proxy is installed

The proxy does not move Ollama. OLLAMA_HOST has to be set to the loopback address.

Ollama is still bound to 0.0.0.0:11434.

Check ss -tulpn | grep 11434. Set OLLAMA_HOST=127.0.0.1:11434 and restart the Ollama service. The proxy listens on 127.0.0.1:8787.