How do I turn on ports in Ubuntu? Need help with firewall settings! or What's the easiest way to turn

14 Replies, 2155 Views

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.

Messages In This Thread



Users browsing this thread: 1 Guest(s)