Musings

A random collection

TECH: What process has a port open?

Windows

netstat -aon
# find process id (pid) for who has a port open
tasklist
# find the process name for a pid

Linux

netstat -pn
Advertisements

Written by curious

January 21, 2011 at 2:19 pm

Posted in tech-tips

%d bloggers like this: