A server is already running. Check …/tmp/pids/server.pid. Exiting - rails

前端 未结 19 1447
礼貌的吻别
礼貌的吻别 2021-01-29 20:35
..$ rails s
=> Booting WEBrick
=> Rails 4.0.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=>         


        
19条回答
  •  一向
    一向 (楼主)
    2021-01-29 20:54

    First Find PID # - where the Rails Server got stuck on

    Run this to find the stuck PID

    cat ./tmp/pids/server.pid

    It will return something like 65829

    Then KILL that PID => kill 65829

提交回复
热议问题