as per the question I allowed port as below in public zone with tcp.
but task was failed.
[clint@stbkp01 ~]$ 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