Security Basics mailing list archives

Re: see which programs are opening ports


From: Danux <danuxx () gmail com>
Date: Tue, 8 Mar 2005 16:11:24 -0600

Hi, its so easy,  check if you have installed lsof or install it, then
use it this way:
lsof -i TCP:PORT

where PORT is the one you need to know about the program behind it.


On Tue, 8 Mar 2005 13:27:11 +0200, Tahis Vera <tahis.vera () gmail com> 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



-- 
Danux


Current thread: