From Flying Penguin, 8 Months ago, written in Plain Text.
root@ubuntu:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:5601 0.0.0.0:* LISTEN 2626/node
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 996/dnsmasq
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 2661/java
tcp6 0 0 ::1:9200 :::* LISTEN 2661/java
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 2661/java
tcp6 0 0 ::1:9300 :::* LISTEN 2661/java
udp 0 0 0.0.0.0:59690 0.0.0.0:* 838/avahi-daemon: r
udp 0 0 0.0.0.0:631 0.0.0.0:* 903/cups-browsed
udp 0 0 0.0.0.0:55060 0.0.0.0:* 996/dnsmasq
udp 0 0 127.0.1.1:53 0.0.0.0:* 996/dnsmasq
udp 0 0 0.0.0.0:68 0.0.0.0:* 2378/dhclient
udp 0 0 0.0.0.0:5353 0.0.0.0:* 838/avahi-daemon: r
udp6 0 0 :::47046 :::* 838/avahi-daemon: r
udp6 0 0 :::5353 :::* 838/avahi-daemon: r
root@ubuntu:~# ufw status
Status: inactive
root@ubuntu:~# ifconfig
ens33 Link encap:Ethernet HWaddr 00:0c:29:1b:65:20
inet addr:192.168.43.60 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::30df:9dab:43a4:6b53/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:173 errors:0 dropped:0 overruns:0 frame:0
TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16497 (16.4 KB) TX bytes:35303 (35.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4063 errors:0 dropped:0 overruns:0 frame:0
TX packets:4063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:570427 (570.4 KB) TX bytes:570427 (570.4 KB)
root@ubuntu:~# telnet 192.168.43.60 5601
Trying 192.168.43.60...
telnet: Unable to connect to remote host: Connection refused
root@ubuntu:~# telnet 192.168.43.60 9200
Trying 192.168.43.60...
telnet: Unable to connect to remote host: Connection refused
root@ubuntu:~# telnet 127.0.0.1 9200
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^Cquit
Connection closed by foreign host.
root@ubuntu:~# telnet 127.0.0.1 5601
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
quit
^V^C
^X
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}