Hello Hanasaki! On Sat, Nov 08, 2003 at 10:16:34AM -0600, Hanasaki JiJi wrote: > How do i find out what is using those ports? > > netstat -natl | grep 799 > tcp 0 0 192.168.1.200:799 > 192.168.1.1:2049 ESTABLISHED > > below returns no output > lsof -i tcp:799 > Nothing is using the port but it is in netstat????
It is shown by netstat, but a normal user won't get further detail about it. root will: |[EMAIL PROTECTED]:~/mail$ lsof -i tcp:25 |[EMAIL PROTECTED]:~/mail$ su |Password: |live:/home/fernst/mail# lsof -i tcp:25 |COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME |exim4 840 mail 0u IPv4 1147 TCP localhost:smtp (LISTEN) "netstat -tulpen" might be even faster... Better setup sudo so you won't accidentally hose your system by staying root for too long... ;-) HTH, Flo
pgp00000.pgp
Description: PGP signature