Quickie: Finding Listening Ports25 Jun 2010
File this one with “things i constantly use but refuse to memorize so I always have to google it”…
The following command is a simple demonstration of the power of piping data from one output to another programs input. Netstat will list all of the processes using network connects. Find will “filter” out only the ports in a Listening state.
netstat -an | find /i "listening"
Text based formats FTW.