Answer by Tom Hallam for SElinux: allow httpd to connect to a specific port
You may need to usesemanage port -m -t http_port_t -p tcp 6379If semanage is missing then add the package policycoreutils-pythonyum install policycoreutils-python
View ArticleAnswer by HTF for SElinux: allow httpd to connect to a specific port
By default, the SELinux policy will only allow services access to recognized ports associated with those services:# semanage port -l | egrep '(^http_port_t|6379)'http_port_t tcp 80, 81, 443, 488, 8008,...
View ArticleAnswer by A. M. for SElinux: allow httpd to connect to a specific port
You could temporary put selinux in permissive mode and let httpd connect to redis, then generate and build a custom policy module using audit2allow
View ArticleSElinux: allow httpd to connect to a specific port
My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could fix...
View Article