Answer the question
In order to leave comments, you need to log in
How to open port to server firewall on CentOS 7?
We create a server for minecraft on VPS hosting simplecloud. You need to open port 25565. I enter the command in the terminal:
firewall-cmd --permanent --zone=public --add-port=25565/tcpsudo firewall-cmd --reload
usage: see firewall-cmd man page
firewall-cmd: error: unrecognized arguments: firewall-cmd
Answer the question
In order to leave comments, you need to log in
These are different commands, you need to enter them in turn:
sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp
sudo firewall-cmd --reload
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question