Security Basics mailing list archives

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


From: "Panos" <epp719 () aretousa epp teiher gr>
Date: Mon, 21 Feb 2005 18:50:53 +0200 (EET)

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.

Thanks




Current thread: