Logged in as root.
Run the following command.
firewall-cmd --zone=public --add-port=2888/tcp Note this doesnot survive Reboots. Here is How to configure open firewall ports that survive Reboots.
Start by finding your active zones by running the following command.
If the Zone is Public run the following:
firewall-cmd --zone=public --add-port=2888/tcp --permanent firewall-cmd --reload
(for public active zone)
If its a different zone run the following.
firewall-cmd –zone=dmz –add-port=2888/tcp –permanent
Enjoy Server Administration.