Find all sockets on your Linux machine
‘‘‘bash netstat -anp '’’
List socket with ip address
‘‘‘bash ss -tanp '’’
List open ports on the local host
‘‘‘bash nmap -p 1-65535 –open localhost '’’
‘‘‘bash netstat -anp '’’
‘‘‘bash ss -tanp '’’
‘‘‘bash nmap -p 1-65535 –open localhost '’’