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
Had you specified the ip_access option
in mod_register
? If Pidgin and your ejabberd server are somehow both using the same IP, then a default rule that looks something like this:
{mod_register, [
...
%%
%% Only clients in the server machine can register accounts
%%
{ip_access, [{allow, "127.0.0.0/8"},
{deny, "0.0.0.0/0"}]},
...
] ...
would allow both of those IPs to register accounts, but not an Android client that was using a different IP.
I've been facing a related problem, and for some reason the {access_from, register_from}
solution that worked for you did not work as expected for me. Were you able to restrict the ability to create new accounts to only an admin
user?