安装完ejabberd:ejabberd-17.11-windows-installer.exe
启动报错:bash ejabberdctl register "admin" "YCY-rgq" "admin" Error: conflict
https://stackoverflow.com/questions/38810951/ejabberd-user-registration-command-fails-with-error-access-rules-unauthorized
Try version 16.06 instead of 16.08 from downloads archive https://www.process-one.net/en/ejabberd/archive/ It solved my issue on Centos.
换成:ejabberd-16.06-windows-installer.exe就可以正常启动了。
但是又遇到了新问题:ejabberd failed with error: inexistent-account
https://github.com/processone/ejabberd/issues/1255
Ok, as the original problem seems to be #1231 and it will be fixed in 16.09, this ticket can be closed.
打算换成:ejabberd-16.09-windows-installer.exe试试。
然后看搜到的另一篇帖子:
https://www.ejabberd.im/node/3680
结果发现用机器名, 就可以了,只有机器名可以,IP地址和localhost都不行。
例如:
http://ycy-rgq:5280/admin/ OK
http://localhost:5280/admin/ Error
http://192.168.1.2:5280/admin/ Error
归档文件下载地址:
https://www.process-one.net/en/ejabberd/archive/