ยง2024-11-06
ss -tuln | grep ':80'
ss -tuln is similar to netstat but faster -t: Show TCP sockets. -u: Show UDP sockets. -l: Show only listening sockets. -n: Show numerical addresses instead of resolving hostnames (faster).
$ sudo apt install net-tools
$ sudo netstat -tuln | grep ':80'