Firewall rules task failed

as per the question I allowed port as below in public zone with tcp.

but task was failed.

[[email protected] ~]$ sudo firewall-cmd --zone=public --permanent --list-ports
3002/tcp

Trying to find the reason why was failed. anyone can help me to understand.? thanks

Hello, bilalshakir41396
Have you did “firewall-cmd --reload” ?