When I try to add an exception to firewalld, I get
Code: Select all
$ firewall-cmd --add-port=8090/tcp
FirewallD is not running
$ systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
Code: Select all
sudo iptables -I INPUT -p tcp --dport 8090 -j ACCEPT
sudo iptables -I FORWARD -p tcp --dport 8090 -j ACCEPT
sudo iptables -P OUTPUT ACCEPT
How do I find out which firewall is blocking the port?