Question : Allow and Block Ports Using Port in ubuntu
Answered by : rusik
//For example, to allow the TCP port 8080 using UFW, run the following command:
$ sudo ufw allow 8080/tcp
// Then check status with:
$ sudo ufw status
Source : | Last Update : Sun, 19 Jun 22