how to open ports on firewall in ubuntu code example Example: firewall allow port ubuntu sudo ufw allow 2222