Jump to content

Computer Networks/Netstat/Default

From Wikiversity

Netstat is a command-line tool that displays network statistics on a variety of operating systems. netstat with no options displays active TCP connections. This activity will show you how to use the default netstat command.

Preparation

[edit | edit source]

To prepare for this activity:

  1. Start your operating system.
  2. Log in if necessary.

Activity 1 - Display Active TCP Connections

[edit | edit source]

To display active TCP connections:

  1. Open a command prompt.
  2. Type netstat.
  3. Press Enter.
  4. Observe active TCP connections, the local address and port number, the remote name or address and port number, and the connection status.
  5. Close the command prompt to complete this activity.

Readings

[edit | edit source]

References

[edit | edit source]