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