10
10

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.

Address already in useの対処法(Windows)

Last updated at Posted at 2019-02-15

下記エラーで実行が妨げられた場合、すでに使っているアドレスを一度キルしないといけないみたい。

org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:[ポート番号]
Caused by: java.net.BindException: Address already in use: bind

方法(Windows):コマンドで
netstat -nao | find "[ポート番号]" で使用しているProcessNoを探す
(もしくはnetstat -an -p tcpする)
出たら
taskkill /f /pid (探したProcessNo)
で、キルしてやって再度実行すればおk。

要は一人しか使えないものに対して
すでに使ってるお前(ProcessNo)をシメて(taskkillして)、おれが使う的な感じ。

※Eclipseの場合
タスクマネージャー>サービス>Tomcatを停止でも行けた

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?