2

[emerg] 32915#32915: bind() to 0.0.0.0:8989 failed (13: Permission denied)

Hello, I just have tried changing my port number of nginx to 8989,successfully tested the nginx configuration but when i am restarting the service of nginx,its throwing me an error like 0.0.0.0:8989 permission denied?How to resolve this issue On CentOS 7.6

Nginx CentOS Add a comment
lucky
asked Jun 13 2019

Answer

2

Make sure your selinux has set to disabled mode.
vim /etc/selinux/config

`selinux=disabled`

save the file and restart the system to fix this issue.

Add a comment
lucky
asked Jun 13 2019
Post your Answer