change firewall rule port ubuntu code example Example: ufw allow port sudo ufw allow http sudo ufw allow 80