Failed to add port 8094 permanently


I was working on one task i.e. add 8094 port permanently on a Linux machine to accept the coming requests. I have followed below steps:

  1. Added the port in /etc/service file using the root user.
  2. Executed this: firewall-cmd --zone=public --add-port=55555/tcp --permanent
  3. Then reloaded firewall: firewall-cmd --reload

Then also it is failing. Please anyone can help me to understand what went wrong.
I have attached a screenshot also.


Can’t see firewall-cmd --reload command in your screenshot, are you sure you ran it after adding the rule ?

Also you are running iptables as well as firewalld, what was exactly asked in the question ?