netstat -lptn
Alternatively you can use:
netstat --tcp --listening --programs --numeric
Common uses
- See what ports are open on your system
- See what processes the open ports belong to
- Security audits to find unused software
netstat -lptn
Alternatively you can use:
netstat --tcp --listening --programs --numeric
Common uses