If you’re trying to turn on ports in Ubuntu, UFW is the simplest way. But just FYI, `iptables` is more powerful if you need advanced stuff later.
For now, stick with:
```
sudo ufw allow 8080
sudo ufw enable
```
The second command makes sure UFW is actually active.
And yeah, no restart—just check with `sudo ufw status verbose` to see your rules.
For now, stick with:
```
sudo ufw allow 8080
sudo ufw enable
```
The second command makes sure UFW is actually active.
And yeah, no restart—just check with `sudo ufw status verbose` to see your rules.
