Answers for "linux kill a port"

34

kill port

sudo kill -9 `sudo lsof -t -i:9001`
Posted by: Guest on May-03-2020
8

kill port

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

kill port linux

kill -9 $(lsof -t -i:8080)
Posted by: Guest on December-29-2020
1

kill port 80 linux

sudo lsof -i tcp:80
#or
sudo lsof -t -i tcp:80 | sudo xargs kill
Posted by: Guest on September-21-2021
0

kill linux port

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

kill port

:8080.
C:\Users\psmith>netstat -ano|findstr "PID :8080"
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 18264

taskkill /pid 18264 /f
Posted by: Guest on May-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language