ss

Utility to investigate sockets.

Installation

Usage

Short form

ss -lnpt #1 Print information about processes listening on sockets using TCP

Long form

ss --listening --numeric --process --tcp #1