💬 Trouble Shooting/Server
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 오류
ipv6 와 관련된 에러이다.보통 ipv6 를 disable 해 두는 서버인 경우는 위와 같이 에러가 발생하게 된다. 이런 경우 아래의 방법으로 문제를 해결할 수 있다. default 사이트 설정 파일인/etc/nginx/sites-enabled/default을 열어서#listen [::]:80 default_server;위의 ipv6 리스닝 부분을 삭제하거나 주석 처리하면 된다. 그리고 서버를 재시작하면 nginx가 제대로 돌아가는 것을 볼 수 있다./etc/init.d/nginx restart 아래의 명령어로 상태를 확인해보자.systemctl status nginx.service 역시 오류 코드를 제대로 잘 보는 것이 오류 해결의 방법이다.나는 인바운드 규칙 먼저 편집하면서 삽질을 했다...😂 h..