Thursday, November 15, 2012

Killing Port Owners

This post is about a bunch of ways to do find and kill the process that owns a specific port.

First, some context. [TBD]

Now: the kills! In the below examples, the port number is 8181.

Here's the first way. Find or open a terminal; type:
lsof -i:8181 -t | xargs kill -9


No comments:

Post a Comment