how to allow port in firewall ubuntu 18.04 code example Example: firewall allow port ubuntu sudo ufw allow 2222