0
1

More than 3 years have passed since last update.

ローカルサーバーがすでに起動していると言われてrails sできない時の対処

Posted at

背景

何らかの理由でローカルサーバーが落ちてしまったが、内部的には起動中となっているときに再度rails sできなかった事があったのでそれを解決した時の方法

対処法

  • localhostのタスクを確認
  • sudo lsof -P -i:3000
    
  • 実行中のタスクidをkill

sudo kill -9 <pid>
0
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
0
1