Report this

What is the reason for this report?

Firewall & Apache Error

Posted on September 14, 2017

While following DigitalOcean’s “How To Install the Apache Web Server on Ubuntu 16.04” guide:

Step 1: Install Apache – success :)

sudo apt-get update
sudo apt-get install apache2

Step 2: Adjust the Firewall – failure :(

$ sudo ufw allow 'Apache Full'

returns

ERROR: Need 'to' or 'from' clause

I am a newb. What am I doing wrong?



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.
0

Jjust allow port 80 and 443

sudo ufw allow 443 sudo ufw allow 80

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.