Could not find a default user and password for Ejabber

While attempting to configure the XMPP with the external Ejabber Chat server installed on NS7, the following obstacles are in my way.

  1. Could not find a default user and password for Ejabber, so I used one existing from the LDAP and defined it as admin in ejabber

-----ejabberd.conf-----extract------
% 10AdminUsers
% {acl, admin, {user_regexp, “^(root)$”}}.
{acl, admin, {user, “adminejabber”, “mydomain”}}.
% Only admins can use configuration interface:
{access, configure, [{allow, admin}]}.
---------------------------------------end of extract------
trying to log into the ejabber web interface (adminejabber@mydomain) does not show details… access is granted however no rosters nothing, no node name…

Could someone help ???

  1. On the JSXC plugin of Nextcloud I am failing to contact the BOSH server of Ejabber
    http://myip:5222/http-bind/
    or
    https://myip:5223/http-bind/

none is working.

I appreciate if someone can jump in and help me fix these issues.