Why & When to Use netstat
When network issues arise, netstat is your go-to. It helps:
Follow along on your machine with: savvy run rb_b500173f214107c7
Credit: https://x.com/Raghav_11001_ai/status/1851088300192231861
Display active internet connections, routing tables, interface statistics, and protocol statistics. Shows basic network information.
netstat
Display all listening and established network connections, including UDP and TCP. Shows detailed network information.
netstat -tuln
Display all established TCP connections, including the process ID and name of the program using the connection.
netstat -atp | grep 'ESTABLISHED'