2
1

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.

80番ポートが何に使われているか調べる

Posted at

そんな時はnetstatコマンド。
試しに、80番ポートを調べてみる。
(まあ特別設定してない限りwebサーバだろうけど)

shell
netstat -anp | grep 80

grepで80を指定すれば、80番のみ検索できます。
(指定しないとずらああああっと出てくる。)

ちなみに使っているオプションはこれ

-a send,recv両方表示
-n アドレス、ホスト、ユーザを数値で表示
-p PIDとプログラムを表示

ようは詳細に表示してねと。

以上!

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?