kill port 80 debian code example
Example 1: kill port linux
kill -9 $(lsof -t -i:8080)
Example 2: 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)"
kill -9 $(lsof -t -i:8080)
kill -9 $(sudo lsof -t -i:'portName')
//Ex. if portname is 3000
//then we will execute "kill -9 $(sudo lsof -t -i:3000)"