Killing a background process running on a specific port
lsof -i:8080
kill $(lsof -t -i:8080)
kill -9 $(lsof -t -i:8080)
Last updated 5 years ago