Mailing List Archive


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

[tlug] What is listening on port X?



Kalin KOZHUHAROV writes:

 > On a system I have the following:
 > 
 > # netstat -tunelp|head -n3
 > Active Internet connections (only servers)
 > Proto Recv-Q Send-Q Local Address           Foreign Address
 > State       User       Inode      PID/Program name
 > tcp        0      0 0.0.0.0:40636           0.0.0.0:*
 > LISTEN      0          77216      -

 > The question is how to find what is LISTENing on 40636/tcp ?

Have you tried lsof?  I think "lsof -p 40636" will tell you who's
opened port 40636, but you should check the manual.

I suspect that your NFS is a kernel module, and that's why PID is
nonexistent.

Steve


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links