Report this

What is the reason for this report?

Apache still blocked by UFW after allowing and verifying UFW status

Posted on February 23, 2022

How do you allow Apache through the UFW after following your instructions to allow Apache? Its still blocking access. I used your one-click php droplet setup. Operating system is Ubuntu 20.04. Thanks.



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.

Hi @ajlamothe,

In order to allow Apache through UFW, you can just type in your CLI the command :

sudo ufw allow 'Apache Full'

This should allow both port 80 and 443 for Apache if you already have Apache installed and configured.

Alternatively, you can allow both ports manually like so:

sudo ufw allow 80
sudo ufw allow 443

Once you’ve done this, you can type sudo ufw status to see what has been allowed and what not.

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.