Created
May 19, 2015 20:00
-
-
Save dainiusjocas/abc3a055b5234e39d696 to your computer and use it in GitHub Desktop.
CentOS 7 open firewall for port 80
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
# Long description of the situation can be found here: | |
# http://ask.xmodulo.com/open-port-firewall-centos-rhel.html | |
# Following two lines get the job done. | |
firewall-cmd --zone=public --add-port=80/tcp --permanent | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment