Subject: Re: command to inentify the process that is listening in a port.
To: None <>
From: Geert Hendrickx <>
List: netbsd-users
Date: 04/09/2007 23:23:01
On Mon, Apr 09, 2007 at 03:20:09PM +0000, Christos Zoulas wrote:
> In article <>,
> 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?
> fstat [base], lsof [pkgsrc].

sockstat -4l or sockstat -6l [base].