process answering port 53

Noah noah-list at enabled.com
Thu Jan 9 21:24:47 UTC 2014


Hi there,

how can I figure out what process is answering port 53?  bind9-host is 
installed but is there a command to see the process bound to a 
particular port?

lsof -i:53 -t
netstat -nlp

root at virt:/etc/init.d# netstat -nlp | grep 53
unix  2      [ ACC ]     STREAM     LISTENING     2530     2986/master 
        private/relay
unix  2      [ ACC ]     STREAM     LISTENING     2533     2986/master 
        public/showq
unix  2      [ ACC ]     STREAM     LISTENING     2536     2986/master 
        private/error
unix  2      [ ACC ]     STREAM     LISTENING     2539     2986/master 
        private/retry
unix  2      [ ACC ]     STREAM     LISTENING     73379    26723/apache2 
       /var/run/apache2/cgisock.3253





Cheers,

Noah





More information about the ubuntu-users mailing list