Ubuntu Linux Firewall Open Port Command code example Example: ubuntu open port sudo ufw allow 1191/tcp