Process hogging a port

List of open sockets

lsof -i :80

Will give you the process id, you can then kill the process.

Useful for getting rid of Tomcat and other things that gave up the ghost while in the middle of something.

Leave a Comment