Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cmd stop process on port

## Get PID Id on port:

netstat -ano |  findstr  <Port Number>

## Kill task on PID:

taskkill /F /PID <Process Id>
## Process Id is the last numbers at the end of a line.
Source by www.onlinetutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #cmd #stop #process #port
ADD COMMENT
Topic
Name
3+6 =