So how do you list the network open ports on your Linux server and the process that owns them? The answer is simple. Use the following command (must be run as the root user):
sudo lsof -i
sudo netstat -lptu
sudo netstat -tulpn
Sample outputs (see video demo):
Credit to: www.cyberciti.biz
No comments:
Post a Comment