Skip to content

Instantly share code, notes, and snippets.

@rujmah
Created December 9, 2016 18:15
Show Gist options
  • Save rujmah/9acb5b15702b05f0f130371138a77bcb to your computer and use it in GitHub Desktop.
Save rujmah/9acb5b15702b05f0f130371138a77bcb to your computer and use it in GitHub Desktop.
add ports on Centos 7

Review ports:

sudo semanage port -l | grep http_port_t

Add port:

sudo semanage port -a -t http_port_t  -p tcp 8024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment