Server is already running in Rails

后端 未结 15 1308
谎友^
谎友^ 2020-12-02 04:08

When I am starting rails server using rails s command it is showing A server is already running. Check C:/Sites/folder/Pids/Server.pids

Whe

15条回答
  •  没有蜡笔的小新
    2020-12-02 04:59

    Just open that C:/Sites/folder/Pids/Server.pids and copy that 4 digit value.that 4 digit value is nothing but a PID, which you need to kill to stop the already running process.

    then to stop the process use below command

     kill -9 
    

    once that already running process get stopped then hit

    rails s to start the rails server

提交回复
热议问题