Answers for "lkill port"

4

kill service by port number on windows

taskkill /F /PID PORT_NUMBER
Posted by: Guest on June-10-2020
1

stop a process running on a port

# Print PID of process bound on that port.
fuser 8080/tcp

# Kill that process
fuser -k 8080/tcp
Posted by: Guest on May-01-2020
-1

kill process on port

#list process running on specified port (here 80, change to your port)
sudo lsof -i:80

#kill process on specified port (here 80, change to your port)
sudo kill $(sudo lsof -t -i:80)
Posted by: Guest on December-28-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