root@45:/home/asmodai# netstat -tulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 45.m0d-41:domain *:* LISTEN 1887/dnsmasq
tcp 0 0 localhost:ipp *:* LISTEN 837/cupsd
tcp6 0 0 ip6-localhost:ipp [::]:* LISTEN 837/cupsd
udp 0 0 *:55498 *:* 828/avahi-daemon: r
udp 0 0 *:2933 *:* 2472/dhclient
udp 0 0 45.m0d-41:domain *:* 1887/dnsmasq
udp 0 0 *:bootpc *:* 2472/dhclient
udp 0 0 *:ipp *:* 940/cups-browsed
udp 0 0 *:mdns *:* 828/avahi-daemon: r
udp6 0 0 [::]:51518 [::]:* 2472/dhclient
udp6 0 0 [::]:mdns [::]:* 828/avahi-daemon: r
udp6 0 0 [::]:54951 [::]:* 828/avahi-daemon: r
root@45:/home/asmodai# netstat -tuln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
udp 0 0 0.0.0.0:55498 0.0.0.0:*
udp 0 0 0.0.0.0:2933 0.0.0.0:*
udp 0 0 127.0.1.1:53 0.0.0.0:*
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp6 0 0 :::51518 :::*
udp6 0 0 :::5353 :::*
udp6 0 0 :::54951 :::*