Security Basics mailing list archives

Re: see which programs are opening ports


From: Ron <iago () valhallalegends com>
Date: Tue, 08 Mar 2005 12:51:46 -0600

netstat -ap

For best results, do it as root.


Tahis Vera wrote:

Hi all,
I'm using Linux Debian.  I ran nmap on my machine and saw some strange
ports opened.
How can i check which programs are opening which ports, in order to
kill some of them (with ps -aux or top i couldn't see the ports
programs are using)?

thanks




Current thread: