Question

Firewall & Apache Error

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?

Subscribe
Share

Submit an 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.

Accepted Answer

Jjust allow port 80 and 443

sudo ufw allow 443 sudo ufw allow 80