Aborting UNIX Processes Running Under a Specific TCP Port

Home » Blog » Software » Aborting UNIX Processes Running Under a Specific TCP Port

Leider ist der Eintrag nur auf English verfügbar.

As a longtime UNIX (of the macOS variety) / Linux user, it’s kind of embarrassing that only recently I was made aware of this single command (or rather – in a true UNIX fashion: a composition of two commands) that allows you to stop a UNIX process running under a specific TCP port (e.g., a Spring Boot application or an Angular front-end during development) – rather than browsing for that port in a process list first and then manually using the process’s ID for issuing a subsequent kill command:

explainshell.com has an article that explains this command and its components quite nicely in a lot more detail.

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)