Report this

What is the reason for this report?

How could my clients see the content serve by apache web server in my droplet? The port 80 is not open to internet?

Posted on February 12, 2017

How could my clients see the content serve by apache web server in my droplet? The port 80 is not open to internet?

A fierwall consideration…



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you have terminal access (and a sudo-enabled account) to your server then try typing the following to see if you have a firewall active and what ports are allowed:

sudo ufw show added

if port 80 is open you should see an entry like this:

ufw allow 80

If not then you need to open port 80 by using the following command:

sudo ufw allow http

I would add a few other ports too (for https and SSH)

sudo ufw allow ssh sudo ufw allow 443/tcp

Hope that helps

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.