I am trying to install ejabberd in my Ubuntu 16.04.
I have installed ejabberd with APT:
sudo apt-get install ejabberd
Then I registered the admin user:
ejabberdctl register admin localhost password
Then I also changed the ejabberd.yml file. In that file I have changed
admin:
user:
- "": "localhost"
to
admin:
user:
- "admin": "localhost"
Then I restarted ejabberd:
service ejabberd restart
After that I tried to access ejabberd via browser with
http://localhost:5222/admin
But I got the following error
This XML file does not appear to have any style information associated with it.
The document tree is shown below:
<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" id="11078245051945755090" from="localhost" version="1.0">
<stream:error>
<xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
</stream:error>
</stream:stream>
If I change the port to 5280, then it doesn't load anything.
I am using Ubuntu 16.04