How to stop a Daemon Server in Rails?

前端 未结 15 650
灰色年华
灰色年华 2020-12-12 09:52

I am running my rails application using the following

  $script/server -d webrick 

on my Ubuntu system , above command run the webrick s

15条回答
  •  不知归路
    2020-12-12 10:16

    if it can be useful, on linux you can find which process is using a port (in this case 3000) you can use:

    lsof -i :3000

    it'll return the pid too

提交回复
热议问题