I've been trying to set up an XMPP server using ejabberd on windows. every time I try to register a user in ejabberd with this command:
ejabberdctl register admin localhost admin
it gives me this error:
{error,access_rules_unauthorized}
I've installed the ejabberd using its binary installer and according to "install.log" file, the installer also fails to create a user due to the same error.
Part of the log file:
E:\Program Files\ejabberd-16.08\bin>bash ejabberdctl register "admin" "localhost" "admin"
{error,access_rules_unauthorized}
ejabberd.yml config file:
access_rules:
register:
- allow
I've gone even to the 100th search of the google, but found nothing similiar yet. So any help on how to fix this is strongly appreciated.