Address already in use - bind(2) (Errno::EADDRINUSE)

前端 未结 7 492
你的背包
你的背包 2020-12-04 04:47

I am trying to deploy Rails app with the Puma web server. When trying to start Puma server with a config file bundle exec puma -C config/puma.rb I get an error

7条回答
  •  [愿得一人]
    2020-12-04 05:38

    you can also try this trick:

    ps aux | grep puma
    

    sample output:

    myname           77921   0.0  0.0  2433828   1972 s000  R+   11:17AM   0:00.00 grep puma
    myname           67661   0.0  2.3  2680504 191204 s002  S+   11:00AM   0:18.38 puma 3.11.2 (tcp://localhost:3000) [my_proj]
    

    then:

    kill -9 67661
    

提交回复
热议问题