Creating new user with Smack on ejabberd throws XMPP Exception: forbidden(403)

前端 未结 4 1080
感动是毒
感动是毒 2021-01-05 11:10

Hi I am working on ejabberd and I am quite new to this technology.

I am trying to add a user on my ejabberd server using this code:

  try {                  


        
4条回答
  •  无人及你
    2021-01-05 11:38

    In my case, i need to edit the file EJABERD_HOME/conf/ejabberd.yml, on mod_register change parameters to:

    ip_access : all
    
    access_from : all
    
    access: register
    

    To allow users register from another host

提交回复
热议问题