LoginSignup
0
0

More than 5 years have passed since last update.

Cassandra.bat 立ち上げた時にコマンドプロンプトでport already in useエラー (Windows)

Posted at

Cassandra.bat立ち上げたら、下記エラー。

Cassandra port already in use (storage_port:7000) Aborting

7000のポートがどうやら使われているっぽいのでkillの方法について。

まずはPIDを取得する。

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

>netstat -aon |find "7000"
TCP  127.0.0.1:7000   0.0.0.0.0 LISTENING 11992←これがPID

取得したPID指定でKillする
/pid killしたいPID

> /pid 11992
成功: PID 11992のプロセスに強制終了のシグナルを送信しました。

以上。

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