As a developer for over 30 years, I’ve learned that failure is not you friend but a necessary tool.
Another thing I’ve learned is not to say, “Xyz doesn’t work”.
“Doesn’t work” doesn’t work and your questions will be ignored.
firewall-cmd —reload