Shell/Bash: stop a process running on a port Example

By

Shell/Bash Example: This is the "stop a process running on a port" Example. compiled from many sources on the internet by SimpleTutorials.org

kill port

lsof -i:8080

kill service by port number on windows

taskkill /F /PID PORT_NUMBER

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


* Summary: This "stop a process running on a port" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others