Security Basics mailing list archives

Re: What Port Is Being Used


From: mlh () zip com au
Date: Thu, 29 May 2003 21:03:09 +1000

On Tue, 27 May 2003 13:01:08 -0600
Bear Giles <bgiles () coyotesong com> wrote:
At bit more generally, on Unix/Linux you can use "netstat -l" to 
list all of the "listeners", then use lsof or fuser to identify 
the owning process.

Under linux, you can do it in one go with "netstat -lp"
Add -n to avoid name lookups.

Matt

---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: