[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: who listens on the port?



On Sun, Dec 03, 2000 at 10:18:43AM -0500, mikpolniak wrote:
> 
> On Sun, 03 Dec 2000 01:43:50 -0800, Erik Steffl said:
> 
> >   the nmap shows:
> >  
> >  785/tcp    open        unknown
> >  
> >    the netstat confirms:
> >  
> >  tcp    0    0 jojda:785    jojda:3984     TIME_WAIT   
> >  tcp    0    0 *:785        *:*            LISTEN  
> >  
> >    how do I find who listens onj this port?
...
> 	To find the ports daemons not in inetd.conf try
> ls0f | grep LISTEN.  

That lsof (List Open Files) is in package lsof-2.2 or lsof-2.0.35 depending
on your kernel.  You need to be root to run it.

-- 
Home: francis@flourish.org  Web: www.flourish.org



Reply to: