Connect to internet EC2 instance

0

I cannot connect my EC2 instance to the internet. More specifically i have added the inbound traffic rules to http and https but still my public IPv4 address on opening in the browser shows error PR_CONNECT_RESET_ERROR to be precise. I am new to aws and would like some help in the matter.

질문됨 일 년 전335회 조회
2개 답변
0

Please check the following things should be properly setup on your AWS account and server.

Make sure that your instance is associated with a public IP address. You can do this by going to the EC2 console, selecting your instance, and checking the "IPv4 Public IP" field. If there is no public IP address associated with your instance, you will need to allocate one and associate it with your instance.

Check that your security group rules are correct. In addition to adding inbound traffic rules for HTTP and HTTPS, you should also make sure that your instance's security group allows outbound traffic to the internet. You can do this by adding an outbound rule with a destination of 0.0.0.0/0 and a protocol of TCP, with ports 80 and 443 allowed.

Verify that your instance has a properly configured network interface. Check that your instance is attached to a VPC, and that the VPC has an internet gateway attached. You should also make sure that your subnet's route table directs traffic to the internet gateway.

Confirm that your instance has the necessary software and configurations to serve web traffic. Check that your web server software (e.g. Apache, Nginx) is installed and running and that your instance's firewall allows traffic on ports 80 and 443.

답변함 일 년 전
0

Stateful Firewall use implicit deny. When you Allow an inbound you by default Allow outbound. Troubleshoot using telnet to verify. Verity that you have a IPv4 by identifying the IGW. If you created a custom VPC verity the subnet association and public IPv4 is enabled.

profile picture
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠