ufw

ufw is firewall in Ubuntu.

To enable

To list available apps, run

To see status, run

Stop ufw

Start ufw

Open Ports

Following command open TCP ports 8000 to 9000.