Computer Networks/Troubleshooting/Tools/Netstat/Default

< Computer Networks < Troubleshooting < Tools < Netstat

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

To prepare for this activity:

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

Activity 1 - Display Active TCP Connections

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

References

This article is issued from Wikiversity - version of the Monday, January 04, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.