Linux:Enable port 81 or other non-standard port under Redhat SELinux
Enable Apache to bind port 81 or other non-standard port under Redhat SELinux
login as root
Add a port
[root@acer ~]# semanage port -a -t http_port_t -p tcp 81
Remove a port
[root@acer ~]# semanage port -d -t http_port_t -p tcp 81
List all enabled http ports
[root@acer ~]# semanage port -l | grep http
Tags: Apache, Enable, HTTP, Linux, List, port, Redhat, root, standard