Date: Mon, 09 Apr 2007 17:37:02 +0200 From: Martin Hudec <corwin@aeternal.net> To: freebsd-questions@freebsd.org Subject: Re: command to inentify the process that is listening in a port. Message-ID: <461A5D9E.2010501@aeternal.net> In-Reply-To: <b713df2c0704090759t1abcc96bld4978bbedec38687@mail.gmail.com> References: <b713df2c0704090758h59657b8csc7716d3fe1f91943@mail.gmail.com> <b713df2c0704090759t1abcc96bld4978bbedec38687@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Siju George wrote: > 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? man lsof 5:35pm [amber] ~# lsof -i @localhost:123 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ntpd 552 root 10u IPv4 0xc4c46000 0t0 UDP localhost:ntp Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461A5D9E.2010501>