Skip to content

Instantly share code, notes, and snippets.

@zuo1188
Created January 27, 2018 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuo1188/f8495d8df558ec1ed703278fd2865e81 to your computer and use it in GitHub Desktop.
Save zuo1188/f8495d8df558ec1ed703278fd2865e81 to your computer and use it in GitHub Desktop.
firewall cenos
永久的开放需要的端口
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