All tools

Home Network & IoT

ss / netstat / lsof

Show listening ports and connections on your own machines.

beginner
Linux
macOS
Windows
Enumeration
Defense

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

Checking what services your PC, Pi, or NAS is actually exposing.

How

List listening TCP/UDP; identify unknown processes; close or firewall them.

Why

Home hardening starts with knowing your own listeners.

Commands & usage

ss -tulpn
ss -tp
sudo lsof -i -P -n | head
netstat -ano  # Windows

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

home-network
listening-ports
hardening
basics

Related in Home Network & IoT