💬 Trouble Shooting/Server

💬 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..

💬 Trouble Shooting/Server

AWS Springboot Mysql 연동 오류 해결방법

1. mysql update : 5버전 -> 8버전 완전 삭제 참고링크 : aterilio.tistory.com/62 8버전 설치 참고링크: rudalson.tistory.com/entry/Ubuntu-1804%EC%97%90%EC%84%9C-MYSQL-8-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0?category=596070 2. aws ec2 데이터베이스 -> aws rds 데이터베이스 옮기기 3. 인바운드규칙편집 (위치무관)

나리 집사
'💬 Trouble Shooting/Server' 카테고리의 글 목록