Created
January 27, 2018 07:35
-
-
Save zuo1188/f8495d8df558ec1ed703278fd2865e81 to your computer and use it in GitHub Desktop.
firewall cenos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
永久的开放需要的端口 | |
sudo firewall-cmd --zone=public --add-port=3000/tcp --permanent | |
sudo firewall-cmd --reload | |
之后检查新的防火墙规则 | |
firewall-cmd --list-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment