By MrCruz
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?
– after “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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
The service seems to be already listening on both ports 5280 and 5222.
This means that it is most likely your firewall that is blocking the connections.
You need to allow the traffic to those two ports. The exact command would depend on the firewall that you are using, for example, if you are using ufw it would be:
ufw allow 5222
ufw allow 5280
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.