Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When your Linux server seems to have network issues, you should be able to log in via VNC console to troubleshoot the issue

...

Code Block
languagebash
themeMidnight
 ping google.com
PING google.com (200.0.000.000) 56(84) bytes of data.
64 bytes from par.net (200.0.000.000): icmp_seq=1 ttl=117 time=21.4 ms
64 bytes from par.net (200.0.000.000): icmp_seq=2 ttl=117 time=23.6 ms

...

Code Block
languagebash
themeMidnight
  mtr google.com
My traceroute  [v0.92]
hostname (0.0.0.0)                                  Thu Jun 21 12:00:00 2024
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                             Packets               Pings
 Host                                      Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. router1                                 0.0%     5    1.0   1.2   0.9   1.5   0.2
 2. isp-router                              0.0%     5    9.1  10.2   8.3  12.5   1.2
 3. destination-router                       0.0%     5   20.5  15.9  14.3  20.5   2.0
 4. google.com                               0.0%     5   21.7  18.3  17.1  21.7   1.8

...

netstat # Display all the active network connections, routing tables, and interface statistics on your Linux system.

Warning

This helps in understanding what applications or daemons are running and potentially causing issues, crucial for troubleshooting port conflicts or unauthorized services running on unexpected ports.

Useful in verifying firewall rules and monitoring for unauthorized services or suspicious network activity


Code Block
languagebash
themeMidnight
 netstat -tulpn #shows all programs listening for connections, along with their details like ports and IDs, using numbers instead of names.

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:46565         0.0.0.0:*               LISTEN      1616/eidLvUIServer  
tcp6       0      0 :::45623                :::*                    LISTEN      71127/AppRun.wrappe 
tcp6       0      0 :::5061                 :::*                    LISTEN      71127/AppRun.wrappe 
tcp6       0      0 ::1:631                 :::*                    LISTEN      -                   
tcp6       0      0 :::1716                 :::*                    LISTEN      1614/kdeconnectd    
udp        0      0 0.0.0.0:52881           0.0.0.0:*                           -                

...