Check Which Ports Are Listening
The best way to get a list of ports which are being listened to on a UNIX environment.
sudo lsof -i -P -n | grep LISTEN
![end of storey](/_astro/logo-small.sd8LXI_3.webp)
The best way to get a list of ports which are being listened to on a UNIX environment.
sudo lsof -i -P -n | grep LISTEN