Skip to content

Refused connection to my application using ecs instance

0

Greetings everyone, I had an issue with the ECS cluster.In fact, When I create a cluster using the ec2 instance I couldn't connect to my application through the Internet. Also, when I try to connect to those instances that I've created with the ECS cluster I got an error that I'm unable to connect. I'm placing my ECS cluster in public defaut VPC and I've used the default security group to ensure that there is no problem with my Security groups.

asked 2 years ago631 views
2 Answers
1

Hi.

The default SG created in the Default VPC only allow traffic that originates from it self. You must use a SG that allow traffic on port 22 from your IP address and on port 443, I assume you run a webapp with https traffic, from everywhere (0.0.0.0/0)

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
0

Can you send the inbound rules of your SG?

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.