Answer the question
In order to leave comments, you need to log in
Nginx: Permission denied. How to set up selinux?
systemctl start nginx:
nginx: [emerg] bind() to 0.0.0.0:8082 failed (13: Permission denied)
setenforce 0
Answer the question
In order to leave comments, you need to log in
selinux policies specify on which desks services can run; you are using a non-standard port for the web server,
you will need the semanage utility:
if port 8082 is not important to you, then you can see which ports you can run nginx on:
# semanage port -l | grep http_port
http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question