How to Configure Ejabberd XMPP Server on AWS - Cupid Love HD
Ejabberd Commands Open Port 5266, 5280 and 5269. sudo su mkdir Downloads wget -O Downloads/ejabberd-16.09-linux-x86_64-installer.run http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/16.09/ejabberd-16.09-linux-x86_64-installer.run chmod +x Downloads/ejabberd-16.09-linux-x86_64-installer.run sudo Downloads/ejabberd-16.09-linux-x86_64-installer.run set ejabberd server domain, enter the public DNS of your instance e.g. ec2-###-###-###-###.eu-west-1.compute.amazonaws.com. start the server and check if it’s running using sudo /opt/ejabberd-16.09/bin/ejabberdctl start sudo /opt/ejabberd-16.09/bin/ejabberdctl status Stop : sudo /opt/ejabberd-16.09/bin/ejabberdctl start Configure http_mod_api : cd /opt/ejabberd-16.09/conf sudo vi ejabberd.yml Locate Port: 5280 and update following request_handler: "/websocket": ejabberd_http_ws "/api": mod_http_api modules: mod_http_api: admin_ip_access: admin_ip_access_rule access: admin_ip_access_rule: admin_ip_acl: - change password - add_rosteritem - register - delete_rosteritem - send_message acl: admin_ip_acl: ip: - "x.x.x.x/8"