monit: error connecting to the monit daemon

monit: error connecting to the monit daemon

『monit status』コマンド実行時、上記のエラーが出た場合、
Monitの設定ファイルに、以下を追加し、Monitの再起動を行う必要あり。

set httpd port 2812
  allow localhost