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
Posted by Vincent at 06:48

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2016 (4)
    • ►  July (1)
    • ►  June (3)
  • ►  2014 (2)
    • ►  April (1)
    • ►  February (1)
  • ►  2013 (4)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (14)
    • ►  December (1)
    • ►  November (6)
    • ►  September (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (3)
  • ▼  2011 (25)
    • ►  December (2)
    • ►  November (2)
    • ►  September (7)
    • ►  August (2)
    • ►  June (3)
    • ►  April (2)
    • ►  March (1)
    • ▼  February (6)
      • Python Notes
      • Vim Recording
      • 32-bit and 64-bit packages in CentOS 5 x86_64
      • MySQL (RHEL5)
      • Linux List The Open Ports And The Process That Own...
      • CentOS 5 FTP Setup (vsftpd)
  • ►  2010 (9)
    • ►  December (4)
    • ►  November (1)
    • ►  August (1)
    • ►  July (2)
    • ►  April (1)
  • ►  2009 (3)
    • ►  March (2)
    • ►  February (1)
Simple theme. Powered by Blogger.