Restless Dreams
2011-02-01
Linux List The Open Ports And The Process That Owns Them
Ref:
http://www.cyberciti.biz/tips/linux-display-open-ports-owner.html
How do you list the network open ports on your server and the process that owns them? The answer is simple use the following command (must run as root):
sudo lsof -i
sudo netstat -lptu
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment