-
[AWS] Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (54.229.116.227), connection timed out 해결법Back End/AWS 2022. 4. 29. 14:59
Failed to fetch http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/pool/universe/a/autogen/libopts25_5.18.12-4_amd64.deb Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (54.229.116.227), connection timed out Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (54.229.225.193), connection timed out Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (54.246.214.20), connection timed out Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (34.241.117.189), connection timed out Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (34.253.189.82), connection timed out Could not connect to eu-west-1.ec2.archive.ubuntu.com:80 (34.253.229.19), connection timed out
아웃바운드 규칙에 80포트를 54.229.116.227에 대해 열어주지 않아서
발생하는 커넥션 타임아웃이다.
해결방법은 80포트를 해당 IP에 대해 열어주면 되지만...
필자는 대충 아래와 같은 상황이었기에 (열어줄 IP가 너무많다)
모든 포트를 임시로 열어주고 작업을 끝내고 닫았다.# 해결방법 (AWS EC2 - 아웃바운드 규칙)
사수님이 알려주신 꿀팁이 있는데,
Connection Timeout 이 뜨면
인터넷 상태가 나빠서 그런 경우도 있으므로
사용하고 있는 와이파이를 다른 와이파이로 잡아보는 것도
좋은 시도라고 합니다 :D! (실제로 그것으로 해결한 적도 있음)728x90'Back End > AWS' 카테고리의 다른 글
[AWS] Mac 에서 EC2 인스턴스로 SSH 접속 (0) 2022.05.05 [AWS] EC2 에서 개인 PC(Local)로 파일 전송 (0) 2022.05.05 [AWS] Mac Homebrew 를 통한 AWS CLI 설치 & IAM 설정 (0) 2022.04.12 [AWS] CDN 이란? (0) 2022.02.24 [AWS] 7. CloudFront로 HTTPS (SSL) 설정하기 & ACM 에서 인증서 만들기 (0) 2022.02.18