Security Basics mailing list archives

Re: how to find a port that some programs are using?


From: Kenneth Kalmer <kenneth.kalmer () gmail com>
Date: Sat, 26 Feb 2005 18:54:59 +0200

On Mon, 21 Feb 2005 18:50:53 +0200 (EET), Panos
<epp719 () aretousa epp teiher gr> wrote:
see fuser
fuser -n tcp 80 gives u the process id of the program running on port 80
on tcp protocol, here web
same way for udp. fuser -n udp *port*
Hi, I'm really sorry about the newbie question, but there it goes:

I have some programs that makes a conection on it server, and I must
know which port these programs are using.

I'm under linux, if anyone knows some tool or something like this I'd be
grateful.

netstat -lp --numeric-ports


Thanks

Pleasure






-- 

Kenneth Kalmer
kenneth.kalmer () gmail com
http://opensourcery.blogspot.com


Current thread: