alexander@alexander-System-Product-Name:~$ sudo netstat -tpln | grep "tcp"
[sudo] password for alexander:
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1709/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1027/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 1027/cupsd
alexander@alexander-System-Product-Name:~$ sudo netstat -anp | grep 25565
alexander@alexander-System-Product-Name:~$ sudo netstat -tpln | grep "tcp"
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1709/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1027/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 1027/cupsd