How to make eJabberd XMPP Server work in droplet with nginx/php/maridb/tls already running?

November 19, 2017 1.4k views
Ubuntu DigitalOcean

I already have a droplet running Nginx/Php/Maridb with TLS(https). It works just fine.
Then i tried to install eJabberd XMPP Server in the same droplet using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-ejabberd-xmpp-server-on-ubuntu
The installation works fine. I run “service ejabberd status” and it says it’s running, BUT it doesn’t work.
I can not open the http://(or https://)<my droplet ip>:5280/admin or 5222 or 5223.. It just doesn’t return anything.
Am i doing something wrong here?

3 comments
  • Hi, can you post the output of the following command? It will list all processes that are listening on any network interface:

    sudo netstat -plutn
    
  • Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1964/master

    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1492/nginx -g daemo
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1797/mysqld

    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1492/nginx -g daemo
    tcp 0 0 0.0.0.0:40595 0.0.0.0:* LISTEN 1518/beam.smp

    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1368/sshd

    tcp6 0 0 :::25 :::* LISTEN 1964/master

    tcp6 0 0 :::443 :::* LISTEN 1492/nginx -g daemo
    tcp6 0 0 :::5280 :::* LISTEN 1518/beam.smp

    tcp6 0 0 :::5222 :::* LISTEN 1518/beam.smp

    tcp6 0 0 :::80 :::* LISTEN 1492/nginx -g daemo
    tcp6 0 0 :::4369 :::* LISTEN 1/init

    tcp6 0 0 :::5269 :::* LISTEN 1518/beam.smp

    tcp6 0 0 :::22 :::* LISTEN 1368/sshd

  • anyone with some light on this?

1 Answer

This is probably much too late now, but do you have a firewall (ufw or other) set up and if so have you opened ports for ejabberd?

e.g.

sudo ufw allow 'Ejabberd'
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!