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

14 Replies, 1896 Views

Dude, I feel you. The whole turn on ports ubunu thing can be confusing at first.

UFW is your friend here. Just run:
```
sudo ufw allow 8080/tcp
```
The `/tcp` part specifies the protocol, but it’s optional.

And nah, no restart needed. But if you wanna be extra safe, `sudo ufw reload` won’t hurt.

Also, if you’re running services like Apache or Nginx, sometimes they have their own configs for ports, so keep that in mind.

Messages In This Thread



Users browsing this thread: 1 Guest(s)