ejabberd Getting started with ejabberd

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!


This section provides an overview of what ejabberd is, and why a developer might want to use it.

It should also mention any large subjects within ejabberd, and link out to the related topics. Since the Documentation for ejabberd is new, you may need to create initial versions of those related topics.

Allow multiple user registration from different devices so quickly on Ejabberd server.

To allow multiple user registration on Ejabberd server, we need to configure file ejabberd.yml in Ejabberd latest versions. Configure ejabberd.yml like: in access_rules: add

    - allow
    - allow
    - infinity


and in modules: add

    access_from: register_from
    access: register

After adding these rules in ejabberd.yml file save it and run Ejabberd server and for checking purpose of these rules are really add or not so you can check it on Ejabberd server console, access_rules in raw file will looks like:

[{access, announce, [{allow, [{acl, admin}]}]},
 {access, c2s,
  [{deny, [{acl, blocked}]}, {allow, [all]}]},
 {access, c2s_shaper,
  [{none, [{acl, admin}]}, {normal, [all]}]},
 {access, configure, [{allow, [{acl, admin}]}]},
 {access, local, [{allow, [{acl, local}]}]},
 {access, max_user_offline_messages,
  [{5000, [{acl, admin}]}, {10000, [all]}]},
 {access, max_user_sessions, [{infinity, [all]}]},
 {access, mod_register,
  [{access_from, [{acl, register_from}]},
   {access, [{acl, register}]}]},
 {access, muc_create, [{allow, [{acl, local}]}]},
 {access, pubsub_createnode, [{allow, [{acl, local}]}]},
 {access, register, [{allow, [all]}]},
 {access, register_from, [{allow, [all]}]},
 {access, registration_timeout, [{infinity, [all]}]},
 {access, s2s_shaper, [{fast, [all]}]},
 {access, trusted_network, [{allow, [all]}]}].

and modules will look like:

mod_register:[{access_from, register_from},
 {access, register},
    <<87, 101, 108, 99, 111, 109, 101,
    <<72, 105, 46, 10, 87, 101, 108, 99,
      111, 109, 101, 32, 116, 111, 32,
      116, 104, 105, 115, 32, 88, 77,
      80, 80, 32, 115, 101, 114, 118,
      101, 114, 46>>}]},
 {ip_access, trusted_network},
 {access, register}]

now your server is ready to register multiple users from different devices so quickly. Thank you.

Got any ejabberd Question?