Answered by : combative-cobra-ztqt5fkxwiy7
kill -9 $(lsof -t -i:8080)
Source : | Last Update : Tue, 05 Jan 21
Answered by : zahid-hasan
sudo kill -9 `sudo lsof -t -i:3000`
Source : | Last Update : Sun, 22 Nov 20
Answered by : delvin
sudo lsof -i tcp:80
#or
sudo lsof -t -i tcp:80 | sudo xargs kill
Source : https://www.codegrepper.com/code-examples/shell/kill+process+running+on+port+80 | Last Update : Tue, 28 Sep 21
Answered by : crazy-camel-7qesdu81et96
sudo kill -9 $(sudo lsof -t -i:8000)
Source : https://mr-khan.gitlab.io/linux/2018/05/02/kill-specific-port-on-linux.html | Last Update : Fri, 09 Apr 21
Answered by : sore-seahorse-cxftvcm4edos
sudo kill -9 `sudo lsof -t -i:5000`
Source : | Last Update : Wed, 29 Sep 21
Answered by : foolish-flatworm-zudhkbuiqgt0
sudo lsof -t -i tcp:80 | sudo xargs kill
Source : | Last Update : Wed, 02 Mar 22
Answered by : smoggy-skipper-jufidq6xfjck
{"tags":[{"tag":"textarea","content":"sudo kill -9 `sudo lsof -t -i:9001`","code_language":"whatever"}]}
Source : https://stackoverflow.com/questions/9346211/how-to-kill-a-process-on-a-port-on-ubuntu | Last Update : Mon, 06 Mar 23
Answered by : you
# Find the PID of the process using port 8080
lsof -t -i :8080
# Kill the process using the PID obtained from the previous command
kill <PID>
Source : | Last Update : Tue, 19 Sep 23
Answered by : nasty-newt-1km5496fhhtu
port kill
Source : | Last Update : Sat, 08 May 21
Answered by : sashikanth
# shows information on Processes running on port 80 with PIDs
$: sudo lsof -i tcp:80
$: sudo lsof -t -i tcp:80 | sudo xargs kill
Source : https://unix.stackexchange.com/questions/244531/kill-process-running-on-port-80 | Last Update : Fri, 22 Jan 21