New Tool Radar

Local AI

How to Fix Ollama When It Says the Server Is Not Running

When Ollama says the server is not running, check whether anything answers at localhost:11434 first, then start the server and read the logs, instead of reinstalling.

Schematic diagram with three steps: check with curl http://localhost:11434, start the server with the Ollama app or ollama serve, and read the server log.

Almost every Ollama failure looks the same: a command fails and the message says the server is not running. The cause is usually simple — the Ollama server, the background program that loads models and listens on port 11434, is not started. Ollama’s FAQ says the server binds 127.0.0.1 port 11434 by default, so the first check is whether anything answers there at all. Reinstalling Ollama before that check wastes time and does not fix a server that was simply never started.

Diagnose in order

Work down the table and stop at the first row that matches what you see.

Check What you see What it means and what to do
Is anything answering? Open http://localhost:11434 in a browser, or run curl http://localhost:11434 No answer means no server is listening; start Ollama before trying anything else
Start the server On macOS or Windows, open the Ollama app; in a terminal, run ollama serve The server starts in the foreground and its logs appear in that terminal
Already running? Starting the server reports that the address is already in use A server is already running on port 11434; do not start a second one, and check the address your command is calling
Read the logs The server starts and then stops, or a model will not load Look at the server log: Ollama’s troubleshooting page says logs are the best way to figure out what happened, and on Windows the most recent server log is server.log in %LOCALAPPDATA%\Ollama

Ollama’s troubleshooting page also notes a separate cause worth checking when the server will not use the graphics card: when Ollama starts up, it takes inventory of the GPUs present, and sometimes that discovery fails — in that case the page advises running the latest driver, and on Linux reloading the Nvidia UVM driver. That is a GPU problem, not a server problem, and it shows up in the logs rather than in the “server is not running” message.

Try it: a two-minute diagnosis

With Ollama closed, run a command such as ollama list and note the error. Then open the Ollama app, or run ollama serve in a terminal, and run ollama list again. For a fictional example, the first attempt fails with the server message and the second lists the downloaded models — which proves the problem was a stopped server, not a broken install. Expected result. We checked the Ollama FAQ and troubleshooting page. We did not stop or start the Ollama server on this machine.

Limits

This diagnosis only covers a server that is not running. It does not fix a model that is missing — a “model not found” error means the model was never pulled, and the fix is ollama pull by name — and it does not fix a computer that is out of disk space or memory. If the logs show a GPU discovery error, the fix is a driver step, not a restart. We did not test any failure ourselves.

Sources

See all