Tuesday, March 3, 2009

Find out which process occupied port 4445

On Windows: netstat -o -n -a | findstr :4445

Here is one example

C:\projects\onefuel>netstat -o -n -a | findstr :50000
  TCP    127.0.0.1:50000        0.0.0.0:0              LISTENING       6344

Identify which process or application is using the port by matching the PID (6344 in example above) in Task Manager.

Or run this command to find the process
tasklist /fi "pid eq 6888"
http://www.mydigitallife.info/2008/12/03/how-to-check-and-identify-which-application-is-listening-or-opening-port-80-and-443-on-windows/

On Unix: lsof -i :4445
http://www.debian-administration.org/articles/184

No comments:

Post a Comment