From the course: Networking Foundations: Protocols and CLI Tools
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Netstat's operation - Windows Server Tutorial
From the course: Networking Foundations: Protocols and CLI Tools
Netstat's operation
- [Instructor] netstat is a great program for diagnosing port and session issues. On older machines, I can simply run it from a standard command line, but on newer versions of Windows, I'd need administrator privileges. I'll click on the Start button and type cmd. I'll then right click on Command Prompt and choose Run as administrator. Just typing netstat will begin to slowly give me information on active connections. To stop the program, hit Control + C. I never run netstat by itself, I always add some additional parameters. Running netstat -a will also display listening ports. That was a lot of information, fast. If I want to slow it down to a single page of output at a time, I can add pipe more modifier to netstat -a | more. The Enter key we'll move the results down a single line at a time, while the space bar moves it down a whole page at a time. Moving from left to right, it shows the protocol in use, the…