monit: can't connect to the http interface
To access Monit from outside nerwork, just set :
For no athentication and access from everywhere :
set httpd port 2812
For access from everywhere with authentication :
set httpd port 2812
allow <auth_user>:<auth_password>
In your case, remove the and
at the end of the line set httpd port 2812 and
Note: If you are testing the setup with password set as "password" you will receive this error:
Error: syntax error 'password'