Find out which process is using a port
which process is using port 80 | address already in use | who is listening on port | port is already in use linux | ss | port | networkss -tlnp 'sport = :80'Lists listening TCP sockets (-tl) on the given port with numeric addresses (-n) and the owning process (-p). The Process column contains program name and PID, for example users:(("nginx",pid=812,fd=6)). Typical reason: Apache or nginx will not start because the port is already taken.
Note: Without root, process details are missing for other users’ processes. For UDP ports use -ulnp instead of -tlnp.
Also searched as
- which process is using port 80
- address already in use
- who is listening on port
- port is already in use linux