Answers for "stop service running on port"

4

windows stop process running on port 8080

netstat  -ano  |  findstr  <Port Number>
taskkill  /F  /PID  <Process Id>
Posted by: Guest on August-21-2020
5

kill process on port windows

netstat -ano | findstr "PORT_NUMBER"

taskkill /PID PORT_NUMBER /f
Posted by: Guest on June-09-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

Code answers related to "stop service running on port"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language