Free | No tracking | Every fact with a source|German and English

Error / Home and connection

Ollama: Port 11434 already in use (bind: address already in use)

ollama serve won’t start because an Ollama server is already running on port 11434.

The message

Error: listen tcp 127.0.0.1:11434: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

Affects: Ollama

Why is this happening?

On Windows and macOS, the Ollama app in the system tray starts the server automatically in the background. If you also type ollama serve, you try to start a second server on the same port. On Linux, after installation Ollama usually runs as a system service and occupies the port as well.

How to fix it

  1. Check whether Ollama is already running: Open http://127.0.0.1:11434 in your browser. If it says “Ollama is running”, everything is fine and you don’t need ollama serve at all. Just use ollama run <modellname>.
  2. If you want to start the server yourself in the terminal on purpose, for example with an error log, first quit the app: Right-click the Ollama icon in the taskbar → Quit Ollama. Then run $env:OLLAMA_DEBUG="1"; ollama serve in PowerShell (in Command Prompt: set OLLAMA_DEBUG=1 and then ollama serve).
  3. If no Ollama is running and the error remains, find out which program is using the port: netstat -ano | findstr :11434 shows the process ID (last column), tasklist /FI "PID eq 1234" shows the program name (replace 1234 with the number you found).
  4. Linux: Stop the service with sudo systemctl stop ollama before you start ollama serve manually.
  5. If you really need a different port, set the environment variable OLLAMA_HOST (for example 127.0.0.1:11500) and restart Ollama. Remember to also change the address in Open WebUI and other programs.

Better not: Don’t randomly kill processes in Task Manager before you know which program is using the port.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.