Steps to find which application is using a TCP port in Windows
- Type the command to find the Process ID Go to Run -> cmd and Type
- Now find which is the process with PID 916. For that type,
- Now if you want to kill the process, You can give the command
taskkill /F /PID 916
netstat -ano | moreNow in the output, Just find out the line which uses your port (look at second column, that is the local Address ) and the find the corresponding process id at the last column of that line. See a sample output in the below figure. For example, in the figure, Port 135 is used by a process with PID 916.
tasklist /svc /FI "PID eq 916"This will list the Process Name.