Monday, July 25, 2011

Linux - See which process is using which port

netstat -anop

Then use ps and grep to find the process using this port

Windows - See what processes are using which ports

netstat -ano

You can then use the task manager to see the process id of the owning process.