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.

【Rails】Railsサーバーのプロセスを強制終了させる方法

2
Last updated at Posted at 2019-07-25

使うコマンド

実行中のプロセスを確認

ターミナル
lsof -i:3000

プロセスを停止する

ターミナル
kill -9 プロセス番号

まとめ

上記の方法でプロセスを強制終了できます。
コマンド+Wタブを閉じてたら、
勢い余ってIDEごと落としてしまい…

already running...
みたいな表示を良く出してしまったので。。
メモとして残しておきます。

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?