Answers for "kill a process by port"

34

kill port

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

kill process linux using port

sudo kill -9 $(sudo lsof -t -i:8000)
Posted by: Guest on April-02-2021
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language