Check if a port is listeningss -ltn src :8080Shows the TCP socket listening on the local port, or nothing if no process listens there.networkportstroubleshootingtab next value · ↵ copy · o open · f favoriteCopy
List listening ports with their processsudo ss -tulpnShows every TCP and UDP socket waiting for connections, with numeric ports and the process that owns it.networkportstab next value · ↵ copy · o open · f favoriteCopy
Show connections on a local portss -tn src :443Lists TCP connections whose local side uses the port, with numeric addresses.networkportstab next value · ↵ copy · o open · f favoriteCopy