List open ports and listening services
which process is listening on port | list open ports linux | netstat -tulpn replacement | ss | ports | servicesss -tulpnShows all listening TCP and UDP sockets with local address, port and the associated process including PID. The local address column reveals whether a service is only reachable internally (127.0.0.1) or on all interfaces (0.0.0.0, *, [::]). ss is the modern replacement for netstat.
Note: Without root, the process details for services of other users are missing.
Also searched as
- which process is listening on port
- list open ports linux
- netstat -tulpn replacement