When I specify an actual domain in my monitrc file like so:
set httpd port 2812 and
use address domain.com # only accept connection from localhost
allow localhost # allow localhost to connect to the server and
allow USER:PASS # require user 'USER' with password 'PASS'
allow @monit # allow users of group 'monit' to connect (rw)
allow @users readonly # allow users of group 'users' to connect readonly
I'm not able to connect to monit locally through telnet or view any output using the 'monit summary' command.
When I change domain.com to localhost everything works fine. I'd like to have external access to monit especially since I'm using m/monit.