![](content/images/column/reCAPTCHA/recaptcha_thumbnail01.png)
C(config)オプションで起動したpumaサーバーがbundle exec pumactl stopで停止できなかった
![C(config)オプションで起動したpumaサーバーをbundle exec pumactl stopで停止しようとしたら、「puma start causes ”There is already a server bound to: <socket>” error」エラーが出た。](content/images/column/tech/puma_page_img.jpg)
bundle exec pumactl stopで停止しようとしたら、「puma start causes ”There is already a server bound to: <socket>” error」エラーが出た。
起こった事
ステージング環境のサーバー起動を試しているときに、development環境とは違うパスのconfigファイルを読み込んで起動させたために、「bundle exec pumactl stop」で停止しようとすると
というメッセージが出てしまいました。
解決方法
オプションで読み込んだconfigファイルのパスを指定して停止することで解決できました。
こちらの記事に救われました。ありがとうございます。
![上へ](https://www.wisesips.com/content/myfiles/images/forTopArrow.png)