12/18/2005

Tip: Use Netstat To Find Applications That Use Your Network

Filed under: — By Aviran Mordo @ 12:43 pm

If you ever tried to troubleshoot TCP/IP problems on Windows, you probably know the handy Netstat utility, which lists which applications is listening on which TCP or UDP port.

Service pack 2 introduced a new option to Netstat. The new -b parameter Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed.

Armed with this handy information you can use the Tasklist /SVC to display the list of service in each process, and cross reference the file name and the PID obtained from the Netstat –b to identify which services are currently using what ports.

 

Leave a Reply

You must have Javascript enabled in order to submit comments.

All fields are optional (except comment).
Some comments may be held for moderation (depends on spam filter) and not show up immediately.
Links will automatically get rel="nofollow" attribute to deter spammers.

Powered by WordPress