Nginx

socket() [::]:80 failed (97: Address family not supported by protocol) 에러!

Jinsi | Tech 2022. 6. 29. 15:18

터미널창 오옾흔

vi /etc/nginx/sites-enabled/default

listen [::]:80 default_server; 이부분을 주석 처리 후

:wq 저장 후 종료

sudo nginx -t

nginx: configuration file /etc/nginx/[name].conf test is successful
이 나온다면 테스트 성공!

sudo systemctl stop nginx

sudo systemctl start nginx

다들 잘 되시길!