Port – explained simply
A port is a number under which a program on your PC can be reached, for example 11434 for Ollama or 8188 for ComfyUI.
Also: Port number, 11434, 8188
If the IP address is the house address of your computer, then the port is the apartment number. That way, several programs can receive requests at the same time without getting in each other’s way. In an address, the port comes after the colon, for example http://127.0.0.1:8188.
By default, Ollama listens on port 11434, ComfyUI on 8188. If two programs use the same port, the second one won’t start or will report an error; then you need to choose a different port in the settings.
What does that mean for you? If you get a message like address already in use when starting, the program is probably already running or another one is using the same port.
Related terms
Errors where that matters
- Ollama: could not connect to ollama app, is it running? (Ollama server is not running or can’t be reached)
- Ollama: Port 11434 already in use (bind: address already in use)
- Open WebUI or AnythingLLM can't find Ollama
- Open WebUI: WebSocket connection failed / is not an accepted origin (page keeps loading behind reverse proxy)
- Reconnecting / Failed to connect to server