My Nginx service is active but at nginx -t showing below error :
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
My Nginx service is active but at nginx -t showing below error :
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
the socket API bind() to a port less than 1024, such as 80 as your title mentioned, need root access.
here is "Bind to ports less than 1024 without root access"
and another easier way is to run nginx as root.
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
2
maj 24
|
10176 | |||
|
1
juli 19
|
4276 | |||
|
4
maj 24
|
9979 | |||
|
1
dec. 23
|
38102 | |||
|
1
apr. 26
|
4564 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.