how to disable firewall on ubuntu code example
Example 1: disable ubuntu firewall
sudo ufw enable
sudo ufw disable
Example 2: disable ufw
$ sudo ufw disable
Firewall stopped and disabled on system startup
Example 3: firewall status on ubuntu
$ sudo ufw status
[sudo] password for linuxconfig:
Status: inactive