PORT 11434 / TCPDev & LocalhostExposure Risk: Medium
Port 11434: Ollama Local LLM — Ollama Local AI Model Server REST API
Default local HTTP API port for running Llama 3, Mistral, DeepSeek, and Qwen models via Ollama.
Default Service
Ollama Local LLM
Process: ollama
Transport Protocol
TCP
IANA Registered Port 11434
Docker Port Flag
-p 11434:11434
Container to Host Mapping
How to Check & Kill Process on Port 11434 (EADDRINUSE Fix)
macOS & Linux (lsof / kill)
# Find process using port 11434 sudo lsof -i :11434 # Instantly kill process on port 11434 lsof -ti:11434 | xargs kill -9
Windows (PowerShell & CMD)
# Find PID listening on port 11434 netstat -ano | findstr :11434 # Force kill by PID taskkill /PID <PID_NUMBER> /F
Cross-Platform Node.js One-Liner
# Kill port 11434 via npx npx kill-port 11434 # Or diagnose via Castov CLI npx castov fix "EADDRINUSE :::11434"
Linux Firewall (UFW) & Connectivity Test
# Test if port 11434 is reachable nc -zv localhost 11434 # Allow or deny port 11434 in UFW sudo ufw allow 11434/tcp
Frequently Asked Questions about Port 11434
What is Port 11434 used for?
Port 11434 is the standard network port for Ollama Local LLM (Ollama Local AI Model Server REST API) operating over TCP. The typical system daemon or process is ollama.
How do I kill a process running on Port 11434 (EADDRINUSE)?
On macOS and Linux, run: lsof -ti:11434 | xargs kill -9 (or npx kill-port 11434). On Windows PowerShell/CMD, run: netstat -ano | findstr :11434 and then taskkill /PID <PID> /F.
Is it safe to expose Port 11434 to the internet?
Port 11434 has a Medium security risk profile. Default local HTTP API port for running Llama 3, Mistral, DeepSeek, and Qwen models via Ollama.