Linux network connections – ss command
ss command
The newer ss command will be superseding netstat command.
Below are some of the basic examples,
# Listing all ports to remote IP ss -nt dst 192.168.14.220 # Listing all remote IPs for port ss -nt dst :8091 # using a list ss -nt '( dst :8091 or dst :18091 )'
References