Answers for "how to stop a running port"

20

windows kill port

netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Posted by: Guest on October-06-2020
1

stop port

kill -9 $(sudo lsof -t -i:'portName')
//Ex. if portname is 3000
//then we will execute "kill -9 $(sudo lsof -t -i:3000)"
Posted by: Guest on January-21-2021
0

how to stop llistening to port 80

net stop http
Posted by: Guest on February-08-2021

Code answers related to "how to stop a running port"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language