Good people of StackOverflow, please help. I\'ve set up an ejabberd server on my ubuntu machine, added virtual host, set {access, register, [{allow, all}]}. and registered
I found it! The problem is in server configuration (but I still don't understand why I could register new user from Pidgin before this change). Setting
%% In-band registration
{access, register, [{allow, all}]}.
doesn't seem to work with new versions of ejabberd. You need to add
{mod_register, [
{access_from, register},
...
] ...
if You want to allow all users to register. If You want only admin to have this access, then you need to add new access rule
{access, register_from, [{allow, admin}]}.
and
{mod_register, [
{access_from, register_from},
...
] ...