From Flying Penguin, 8 Months ago, written in Plain Text.
  1. root@ubuntu:~# netstat -tulpn
  2. Active Internet connections (only servers)
  3. Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  4. tcp        0      0 127.0.0.1:5601          0.0.0.0:*               LISTEN      2626/node      
  5. tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      996/dnsmasq    
  6. tcp6       0      0 127.0.0.1:9200          :::*                    LISTEN      2661/java      
  7. tcp6       0      0 ::1:9200                :::*                    LISTEN      2661/java      
  8. tcp6       0      0 127.0.0.1:9300          :::*                    LISTEN      2661/java      
  9. tcp6       0      0 ::1:9300                :::*                    LISTEN      2661/java      
  10. udp        0      0 0.0.0.0:59690           0.0.0.0:*                           838/avahi-daemon: r
  11. udp        0      0 0.0.0.0:631             0.0.0.0:*                           903/cups-browsed
  12. udp        0      0 0.0.0.0:55060           0.0.0.0:*                           996/dnsmasq    
  13. udp        0      0 127.0.1.1:53            0.0.0.0:*                           996/dnsmasq    
  14. udp        0      0 0.0.0.0:68              0.0.0.0:*                           2378/dhclient  
  15. udp        0      0 0.0.0.0:5353            0.0.0.0:*                           838/avahi-daemon: r
  16. udp6       0      0 :::47046                :::*                                838/avahi-daemon: r
  17. udp6       0      0 :::5353                 :::*                                838/avahi-daemon: r
  18. root@ubuntu:~# ufw status
  19. Status: inactive
  20. root@ubuntu:~# ifconfig
  21. ens33     Link encap:Ethernet  HWaddr 00:0c:29:1b:65:20  
  22.           inet addr:192.168.43.60  Bcast:192.168.43.255  Mask:255.255.255.0
  23.           inet6 addr: fe80::30df:9dab:43a4:6b53/64 Scope:Link
  24.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  25.           RX packets:173 errors:0 dropped:0 overruns:0 frame:0
  26.           TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
  27.           collisions:0 txqueuelen:1000
  28.           RX bytes:16497 (16.4 KB)  TX bytes:35303 (35.3 KB)
  29.  
  30. lo        Link encap:Local Loopback  
  31.           inet addr:127.0.0.1  Mask:255.0.0.0
  32.           inet6 addr: ::1/128 Scope:Host
  33.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  34.           RX packets:4063 errors:0 dropped:0 overruns:0 frame:0
  35.           TX packets:4063 errors:0 dropped:0 overruns:0 carrier:0
  36.           collisions:0 txqueuelen:1
  37.           RX bytes:570427 (570.4 KB)  TX bytes:570427 (570.4 KB)
  38.  
  39. root@ubuntu:~# telnet 192.168.43.60 5601
  40. Trying 192.168.43.60...
  41. telnet: Unable to connect to remote host: Connection refused
  42. root@ubuntu:~# telnet 192.168.43.60 9200
  43. Trying 192.168.43.60...
  44. telnet: Unable to connect to remote host: Connection refused
  45. root@ubuntu:~# telnet 127.0.0.1 9200
  46. Trying 127.0.0.1...
  47. Connected to 127.0.0.1.
  48. Escape character is '^]'.
  49. ^Cquit
  50. Connection closed by foreign host.
  51. root@ubuntu:~# telnet 127.0.0.1 5601
  52. Trying 127.0.0.1...
  53. Connected to 127.0.0.1.
  54. Escape character is '^]'.
  55. quit
  56.  
  57. ^V^C
  58. ^X
  59.  
captcha