Leadership optimize

Video: Four netstat tricks every Windows admin should know

Bill Detwiler shows you how to gather useful network configuration and traffic information using the netstat command.

Netstat is a command that some Windows Server admins use every day, while others only use it when there is a problem. During this episode of TR Dojo, I show you how to gather useful network configuration and traffic information using four netstat tricks that every Windows admin should know.

For those who prefer text to video, you can click the Transcript link that appears below the video player window or check out Rick Vanover's original article.

You can also sign up to receive the latest TR Dojo lessons through one or more of the following methods:

About

Bill Detwiler is Managing Editor of TechRepublic and Tech Pro Research and the host of Cracking Open, CNET and TechRepublic's popular online show. Prior to joining TechRepublic in 2000, Bill was an IT manager, database administrator, and desktop supp...

18 comments
reisen55
reisen55

I was always amazed at how QUIET that data center was in the background whenever Detweiler performed his videos. AH - HA, A green screen. LOL.

JCitizen
JCitizen

Vista x64 in 32bit browser for IE8 and Mozilla - I haven't tried Chrome. Hope that helps!?

SgtPappy
SgtPappy

I have the latest flash player. I can watch flash videos on other websites.

talion83
talion83

When I run Netstat commands I normally output the results to a file (ie: netstat -ano >> c:\netstat.txt). Jump into Excel, Import Data from Txt, Delimited with a Space and Other " : " (other being a colon), then finish. You now will have the netstat data broken up by Proto[col], Local, Address (this is actually the Port for the local address), Foreign, Address (Port for the Foreign address), state, and PID. This makes the data much easier to manipulate as you can use simple filters or even a pivot chart to go through the information.

JCitizen
JCitizen

Any IT security fan would!

mousejn
mousejn

I have used the netstat -a -n ?o to get the PID associated with a port. Then I run the command tasklist /svc /FI "PID eq xxx" where xxx is the PID. This tells you what service is using what port.

Jimb49
Jimb49

where is the video ?

NickNielsen
NickNielsen

Only at home. I don't have that level of access at work, unfortunately. Wish I did. It would make certain calls so much easier to clear.

Bill Detwiler
Bill Detwiler

Netstat is a command that some Windows Server admins use every day, while others only use it when there is a problem. In this week's TR Dojo episode, I shows you how to gather useful network configuration and traffic information using the netstat command. How often do you use the netstat command? Take the poll and let me know. Original post and poll: http://blogs.techrepublic.com.com/itdojo/?p=2327

NickNielsen
NickNielsen

Do you have the most current Flash plug-in? Is scripting enabled? If you still can't get it to play, try clicking on the Transcript link. Or you could go to the original article.

stevew
stevew

Thank you Bill for examining one of my favorite commands. Well done!

talion83
talion83

? is only if you wanted to see the help... you can actually chain the command (at least in XP) as -ano

seanferd
seanferd

If you don't see the video placeholder, no transcript link for you. As for scripts, ensure bnet.com is allowed.

Bill Detwiler
Bill Detwiler

Thanks for adding this note. Saved me from doing it.

santeewelding
santeewelding

Tradesman welder, were cognizant of that. This may mean there is hope for me.

NickNielsen
NickNielsen

Anybody running Firefox and NoScript needs to allow com.com, bnet.com, and even zdnet.com if they want all the TR content available.

NickNielsen
NickNielsen

an amazing ability to point out common sense...