Answers for "find and kill ports"

8

kill port

kill -9 $(sudo lsof -t -i:8080)
Posted by: Guest on May-23-2020
1

kill 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 "Shell/Bash"

Browse Popular Code Answers by Language