Re: finding a process that bind a spcific port
On mer 22 gen, Andika Triwidada wrote:
> On Wed, Jan 22, 2014 at 7:20 PM, Nico Angenon <nico@creaweb.fr> wrote:
> > Hello,
> >
> > i think i’ve been hacked on one of my boxes...
> >
> > I try to find with process bind a specific port :
> >
> > # netstat -anpe |grep udp
> > gives me
> > udp 0 0 0.0.0.0:10001 0.0.0.0:*
> > 0 5950269 -
> >
> >
> > but
> > # lsof |grep 10001
> > doesn’t show me anything
>
> lsof -i -n | grep 10001
sudo lsof -i :10001
Reply to: