Honestly, the easiest way to turn on ports ubunu is UFW. But here’s a pro tip: if you’re running a service, sometimes the app itself needs to be listening on that port too.
So after you `sudo ufw allow 8080`, double-check with:
```
netstat -tuln | grep 8080
```
If nothing shows up, your service might not be running or bound to the port.
UFW’s great, but it’s not magic—your app has to play along.
So after you `sudo ufw allow 8080`, double-check with:
```
netstat -tuln | grep 8080
```
If nothing shows up, your service might not be running or bound to the port.
UFW’s great, but it’s not magic—your app has to play along.
