Open up firewalld port on Linux

It seems to be a task that I often perform when setting up new Linux VMs or servers; opening up a port so that it can be reached from outside the VM or server.

If your Linux is running firewalld, it could be a simple as this:

firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload

The configurations can be found under /etc/firewalld

Leave a Reply

Your email address will not be published.