Default Port Search
Jellyfin listens on 8096, Plex on 32400, and Portainer on... two of them? Search by app name or by port number and keep this open while you wire up Docker.
| Service | Port | Protocol |
|---|
Default container ports for the most common self-hosted apps — the host port you expose can be anything, and a few apps (Nextcloud, qBittorrent, Vaultwarden) ship with different defaults depending on the image, so always check the docs of the image you pull.
How host vs. container port mappings work
A TCP or UDP port lets one IP address serve dozens of apps at once without mixing up traffic. In Docker Compose, port lines follow the rule HOST:CONTAINER. The number on the right must stay on the port the app expects internally (such as 8096 for Jellyfin or 80 for Nginx), while the number on the left is any free port on your Linux server.
Checking defaults before spinning up a new stack prevents silent address already in use crashes, and reminds you which admin or database ports (5432, 3306, 6379) should stay internal to Docker instead of exposed on your LAN.
Step-by-step example: fixing a port 8080 clash between two services
Many apps—including qBittorrent, Traefik dashboards, and various web UIs—default to port 8080. Here is how to run two of them on one server.
- Search
8080in the table above to see which common homelab apps claim it by default. - Check whether something is already bound on your server using
ss -tulpn | grep 8080. - In your second service's
docker-compose.yml, change"8080:8080"to"8085:8080"(changing only the left-hand host port).
Result: Both apps still listen comfortably on 8080 inside their own containers, while you reach the second one at http://server-ip:8085—or cleanly behind a reverse proxy domain without remembering ports at all.
Frequently Asked Questions
Can two Docker containers share the exact same internal port?
Yes. Each container has its own isolated network namespace, so ten different containers can all listen on port 80 or 8080 internally as long as they map to distinct host ports or sit behind a reverse proxy.
Should I forward these default app ports on my home router?
No. Leave database, dashboard, and media ports closed on your router. Use Tailscale or WireGuard for private remote access, or publish only HTTPS (443) through a reverse proxy if guests need access.
How do I check which program is already using a port on Linux?
Run sudo ss -tulpn on your server. It lists every listening TCP and UDP socket alongside the exact process name or docker-proxy PID holding that port.