Home / Localhost / localhost:11434

localhost:11434 (Ollama): not working and fixes

Port 11434 is Ollama’s local API for running AI models. How to check it, start it and fix connection errors.

Open this address: http://localhost:11434This opens on your own computer. It only works if the program is running.

localhost:11434 is the local API for Ollama, which runs AI models on your own computer. It is meant for programs, so the browser shows only a short status message.

localhost:11434 in a browser address bar reaches port 11434 on your computer, where Ollama (AI models) is running

What runs on localhost:11434

Commands to start and test port 11434

Start the server
ollama serve
Chat with a model
ollama run llama3.2
Check it is running
curl http://localhost:11434
List installed models
curl http://localhost:11434/api/tags

Find what is using port 11434

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:11434 will not open

Other computers, containers or Open WebUI cannot connect
Ollama listens on 127.0.0.1:11434 by default. Ollama’s FAQ sets OLLAMA_HOST=0.0.0.0:11434 like this: on macOS run launchctl setenv OLLAMA_HOST "0.0.0.0:11434" and restart the app; on Linux run systemctl edit ollama.service, add Environment="OLLAMA_HOST=0.0.0.0:11434" under [Service], then systemctl daemon-reload and systemctl restart ollama; on Windows quit Ollama, add OLLAMA_HOST in “Edit environment variables for your account”, and start Ollama again. In Docker, a web UI must call http://host.docker.internal:11434, not localhost.
A web page or browser extension is blocked (CORS)
Ollama accepts requests from 127.0.0.1 and 0.0.0.0 origins by default. Add more with OLLAMA_ORIGINS, for example OLLAMA_ORIGINS=chrome-extension://*,moz-extension://*,safari-web-extension://* ollama serve.
Model downloads fail behind a proxy
Ollama’s FAQ says to set HTTPS_PROXY for model pulls, and advises against setting HTTP_PROXY because it can break the connections from your own clients.
The first answer is slow, or memory stays used
Models stay loaded for 5 minutes by default. Set OLLAMA_KEEP_ALIVE (for example 10m, or 0 to unload at once). ollama ps lists the models in memory and ollama stop MODEL unloads one.
Where are the models stored?
Default: ~/.ollama/models on macOS, /usr/share/ollama/.ollama/models on Linux, and C:\Users\%username%\.ollama\models on Windows. Change it with OLLAMA_MODELS. On Linux with the standard installer, give the ollama user access with sudo chown -R ollama:ollama FOLDER.
Browser shows only “Ollama is running”
That is correct. Port 11434 is an API. Use the Ollama app, the terminal, or a web UI that connects to it.
connection refused
Ollama is not running. Open the Ollama app or run ollama serve.
Docker cannot reach Ollama
Inside a container, use host.docker.internal:11434 instead of localhost.
Another device cannot connect
Start Ollama with OLLAMA_HOST=0.0.0.0:11434 and allow the port in your firewall.

Other ports like 11434

PortUsually used by
localhost:5601Kibana
localhost:11501Khajane 2 helper (reported)
localhost:9200Elasticsearch
localhost:5672RabbitMQ
localhost:15672RabbitMQ admin page
localhost:9090Prometheus
localhost:9229Node.js debugger

Questions about localhost:11434

What is localhost:11434?
The local API of Ollama, used to run AI models on your computer. It is not a web page.
How do I check that Ollama is running?
Run curl http://localhost:11434. The reply "Ollama is running" means it is.
Is localhost:11434 safe?
Yes while it stays on localhost. Tools like this often show sensitive data, so keep them off the public internet and put a login in front of them if other people can reach the port.

Updated 2026-10-20

Free tools that help

Related pages