Ask Your Question

Openning Firewall Port

asked 2017-05-18 16:15:05 +0000

toxictoad gravatar image

Hi all,

After going through this thread openclose-port-on-fedora-25-server/ and applying this

firewall-cmd --permanent --add-port=7777/tcp

and checking in the Terminal it is Enabled, but when checking on grc.com 'shields up' the port is closed and this is evident when using the program that requires the port to be open.

Can you help me in getting the port Open?

Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-18 18:22:27 +0000

updated 2017-05-18 23:31:19 +0000

florian gravatar image

usually this is the quickest way to get it working: sudo firewall-cmd --zone=public --add-port=7777/tcp --permanent

sudo firewall-cmd --reload

edit flag offensive delete link more


Hi, thanks for your answer. I've tried it and I'm still getting a closed port.

Both commands when run, returns a Success result.

My router is set with port forwarding, when enabled, port 7777 shows as being Closed in the grc.com probe test. If I disable port forwarding on the router and run the test again, the port shows as being stealth so it looks like it's something on Fedora?

I've tried it on a different service port and the same thing happens.

What can I check on Fedora?


toxictoad ( 2017-05-19 12:34:35 +0000 )edit

you should try telnet "hostname" "port" use nmap use nc to find if the ports are open. You can run netstat -tulpn to see what ports are open and listening. I can only help with the fedora part since troubleshooting your network will be too complicated. I would not use the site you listed and use this commands.

jlozadad ( 2017-05-19 13:36:50 +0000 )edit

I did another reboot and that seemed to do the trick for some reason.

Port is now open, thank you very much for your help.


toxictoad ( 2017-05-19 13:43:39 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-05-18 15:26:31 +0000

Seen: 377 times

Last updated: May 18 '17