252
185

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Macでポートを開いてるプロセスをkillする方法

Last updated at Posted at 2014-10-09

例えばポート番号 1080 の場合

lsof -i -P | grep 1080

ヒットしたら表示されます。

java  5328 narikei 5u IPv6 0x1d1d1d1d1d1d1d1d1d 0t0  TCP *:1080 (LISTEN)

PIDが分かったのでKILL

kill -9 5328
252
185
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
252
185

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?