Display all open ports in linux using netstat. commands: sudo netstat -anltp sudo netstat -anltp | grep "LISTEN"
Youtube Link: