Open port 80 for Apache2 on Ubuntu using the Ubuntu firewall service

For cases where Apache2 is available within the box/local host, but not from LAN, you might have to open port 80 in the firewall.

This is a simple command for that –

[bash]

sudo ufw allow 80/tcp

[/bash]

Sreekumar Kj
Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics. He now runs a conversational AI company - DheeYantra - focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.