I've enabled some ports (80, 443) in sudo ufw allow 80/tcp
& sudo ufw allow 443/tcp
.
But those ports are still blocked.
Few days ago, I added permanent zone using sudo firewall-cmd --add-port 2224/tcp --permanent
& sudo firewall-cmd --reload
. This means 2224 port is only opened.
But what does ufw mean. Why allowing port using ufw doesn't work? It only worked when allowed from firewall-cmd
.
0 Answers