Answers for "how to stop a website running on port 8000 or any other port"

0

how to stop a website running on port 8000 or any other port

$ lsof -i TCP:8000 | grep LISTEN #take the number on the second column ex. 794, replace the port number if needed
kill -9 PID_TO_KILL  # replace PID_TO_KILL with the number from above
Posted by: Guest on April-24-2022

Code answers related to "how to stop a website running on port 8000 or any other port"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language