Subject: Re: command to inentify the process that is listening in a port.
To: Siju George <sgeorge.ml@gmail.com>
From: Adrian Portelli <adrianp@stindustries.net>
List: netbsd-users
Date: 04/09/2007 16:14:58
Siju George wrote:
> Hi,
>
> How Do you actually Identify what process is listening on a TCP/IP port?
> "nmap" does not usually give the right answer.
> There should be some command that can be run on the local host for
> identification right?
>
> Thankyou so much
>
> kind Regards
>
> Siju
Try lsof, it's in pkgsrc under sysutils/lsof.
adrian.