firewall-cmd --permanent makes the change persistent.
--add-port=82/tcp opens the custom TCP port.
--add-service=http keeps standard HTTP allowed too.
SELinux blocks services on unexpected ports unless the port is labeled correctly.
http_port_t tells SELinux that port 82 is valid for web services.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit