콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4886 화면

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.


아바타
취소
베스트 답변

Hi, you can follow this: https://youtu.be/-3wV7A_4s-w

Hope it helps

아바타
취소
베스트 답변

sudo nginx -t

아바타
취소
관련 게시물 답글 화면 활동
2
5월 24
8053
1
7월 19
2787
4
5월 24
9299
1
12월 23
35452
2
9월 24
2496