0
0

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 3 years have passed since last update.

Tomcatサーバ始動時ポートが開いていないと怒られるので、キルする方法をメモっとく。

Last updated at Posted at 2020-08-20

iPhoneで夢を見るためとか、PCを再起動する機会が多くて、Eclipse起動したらTomcatサーバ繋がらないとかよく起こる。

本当しょっちゅうポートが開いてないと怒られて調べるけども、記憶力が雑魚なためすぐ忘れてしまうので、自分のためにメモ。

コマンドプロンプト

一応管理者権限で…。

netstat -aon | find "[ポート番号]"

PIDが表示されるので、

taskkill /pid [キルしたいPID]

大概これがでて管理者権限だろうが切れない。

エラー: PID ~~ のプロセスを強制終了できませんでした。
理由: アクセスが拒否されました。

ので、タスクマネージャーの詳細から、PID見て問題ないものであればキルしている。
今のところこれで特に不具合はない。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?