Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kill a process by looking up the port in windows

//Open command prompt and run the following commands

C:Usersusername>netstat -o -n -a | findstr 0.0:3000
   TCP    0.0.0.0:3000      0.0.0.0:0              LISTENING       3116

C:Usersusername>taskkill /F /PID 3116
//here 3116 is the process ID
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kill #process #port #windows
ADD COMMENT
Topic
Name
1+4 =