Answers for "how to kill process on specific port in linux"

1

kill all process at port

lsof -ti tcp:2525 | xargs kill
Posted by: Guest on November-06-2020
0

kill linux port

sudo fuser -k 1883/tcp
Posted by: Guest on November-07-2020
0

kill a process at a port

fuser -k 8080/tcp
Posted by: Guest on May-20-2020
-1

kill process running on port 80

# shows information on Processes running on port 80 with PIDs
$: sudo lsof -i tcp:80

$: sudo lsof -t -i tcp:80 | sudo xargs kill
Posted by: Guest on January-15-2021

Code answers related to "how to kill process on specific port in linux"

Browse Popular Code Answers by Language