For my wish there is a command (kill process on port)

This command comes in handy whenever you are busy with (Java EE) development and you quickly want to stop a running a process running a particular port:
This example kills Jboss (has a port open for naming service on 1099)

lsof -ti TCP:1099 | xargs kill

  • Share/Bookmark

About this entry