Computer Networks/Netstat/Default
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
editTo prepare for this activity:
- Start your operating system.
- Log in if necessary.
Activity 1 - Display Active TCP Connections
editTo display active TCP connections:
- Open a command prompt.
- Type netstat.
- Press Enter.
- Observe active TCP connections, the local address and port number, the remote name or address and port number, and the connection status.
- Close the command prompt to complete this activity.