Strange Ports Being Used

Kurt Wall kwall
Tue Mar 13 01:10:18 PDT 2007


On Tuesday 13 March 2007 02:57, Steve Jardine wrote:
> All,
>
>     Anyone got a good idea as to what I can use to determine what program
> is bound to which port on my system?

/etc/services lists the services defined for specific ports. To find what's 
currently active, I'd do something like:

$ netstat -e --numeric-ports
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
User       Inode     
tcp        0      0 192.168.1.103:55862     72.14.253.91:80         
ESTABLISHEDkurt       53798      
tcp        0      0 192.168.1.103:37729     91.189.89.7:80          
ESTABLISHEDkurt       53754      

YMMV, of course.

Kurt



More information about the Linux-users mailing list