无法创建管理员用户,ejabberd 通过 docker

Unable to creating admin user, ejabberd through docker

通过遵循 documentation,当尝试 运行 命令时

PS C:\Users\user_name> docker exec -it ejabberd bin/ejabberdapi register --endpoint=http://127.0.0.1:5280/ --jid=admin@localhost --password=passw0rd

创建admin用户,出现如下错误

ejabberdapi: error: user registration error for admin@localhost: Error 99: invalid character '<' looking for beginning of value

使用此方法是否正常工作?

docker exec -it ejabberd bin/ejabberdctl register admin localhost passw0rd