List open ports in Linux
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
Netstat
If netstat is not installed run:
sudo apt install net-tools
then you can run:
netstat -tulnp
lsof
Display open files and ports:
lsof -i -P -n