asmack XMPP new user registration

后端 未结 7 1354
鱼传尺愫
鱼传尺愫 2021-02-04 20:50

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

7条回答
  •  梦谈多话
    2021-02-04 21:17

    Try with following changes in ejabberd.cfg.

    %%{ip_access, [
    %% {allow, "127.0.0.0/8"},
    %% {deny, "0.0.0.0/0"}]}
    

    along with -

    %% In-band registration
    {access, register, [{allow, all}]}.
    

    &

    {mod_register, [
          {access_from, register},
           ...
                    ] 
    

    I hope now it will work for you.

提交回复
热议问题