powered by Jive Software

Unable to register users

Hi i am working on ejabberd , I am quite neew to this technology.

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

public void registerUser() throws XMPPException

{

AccountManager am = new AccountManager(connection);

am.createAccount(“asmak”, “asmack”);

}

But it gives forbidden 403 error . Some posts on internet says it need some server side configuration , which are already done in my case , I would be very thankful if somebody can suggest a workarround for this .