본문 바로가기
ERROR

AWS EC2 instance connect - ERR_CONNECTION_REFUSED

by 코드뭉치 2023. 5. 2.

EC2 - instances - Launch instances

instance name 입력

Ubuntu 

instance type - t2.micro

keypair 선택

Launch instance

 

instance_id 클릭 후 - Security - Inbound rules에 http, https 추가해주고, Connect 

sudo apt-get update
sudo apt-get install nginx
sudo systemctl start nginx

이후 https로 들어갔을때, 

ERR_CONNECTION_REFUSED 발생

 

해결방법 

https 연결 방법은 아직 추가로 설정해줘야 할 것들이 있음.

http로 들어가기

댓글