Commands
ss -anp - Display active network connections and listening ports
-a - List all conncetions
-n - Avoid hostname resolution
-p - List the process name that to which the connection belongs to
References
https://www.geeksforgeeks.org/linux-unix/ss-command-in-linux/ - General guide