LoginSignup
13
8

More than 5 years have passed since last update.

ポートを占有しているプロセスの特定

Last updated at Posted at 2017-09-05

概要

Windowsのコマンドプロンプトで、特定のポートを使用しているプロセスを特定する。

ポート番号からPIDを調べる

netstat -ao | find "8080"

-a

すべての接続とリッスン ポートを表示します。

-o

各接続に関連付けられたそれらを所有するプロセス ID を表示します。

PIDからプロセス名を調べる

tasklist | find "123"

課題

ポート番号からプロセス名を一発で調べたい

13
8
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
13
8