Computer Networks/Netstat/Default
< Computer Networks | 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 edit
To prepare for this activity:
- Start your operating system.
- Log in if necessary.
Activity 1 - Display Active TCP Connections edit
To 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.