User Tools

Site Tools


ubuntu:selinux:allow_access_to_an_http_network_port

Ubuntu - SELinux - Allow access to an HTTP network port

Allow Lighttpd / Apache / Nginx At Port 8181.

By default SELinux will block access to many ports including 8181.

If you need to allow access to a port # 8181 so that it can bind and listen for incoming requests on non privileged ports. You need to use the semanage command as follows:

semanage port -a -t http_port_t -p tcp 8181
ubuntu/selinux/allow_access_to_an_http_network_port.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki