Quantcast
Channel: SElinux: allow httpd to connect to a specific port - Server Fault
Browsing all 4 articles
Browse latest View live

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 Article



Answer 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 Article

Answer 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 Article

SElinux: 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
Browsing all 4 articles
Browse latest View live


Latest Images