FlatRun shows ports from two angles: container port mappings and host-level port usage. Together they answer "what is this deployment exposing?" and "what is already using port 8080?".
Docker Ports
The Docker Ports view lists container-to-host port mappings:
- Host port — links to
http://localhost:<port> - Container port and protocol (TCP/UDP)
- Container name and status
- Deployment — linked when the container belongs to one
- Actions — stop or restart the container
Use this to see exactly which ports your running deployments publish.
System Ports
The System Ports view lists every listening port on the host, regardless of Docker:
- Port and protocol
- Process name and PID
- Address the process binds to (e.g.
127.0.0.1,0.0.0.0) - State — LISTEN, ESTABLISHED, and so on
- Action — kill the process holding the port
Killing a process is immediate. The kill action terminates the process holding a
port with no grace period. Confirm you have the right PID before using it on a production host.
When to Use Which
| Question | View |
|---|---|
| What ports does my deployment expose? | Docker Ports |
| What is already using a port I want? | System Ports |
| A stale process is blocking a bind | System Ports (kill) |