Unable to connect ec2 instance using ssh / website

0

I can not access my ec2 with any connection ssh,http,https I am getting connection timeout / refused. it always timeout. I added secuiry group inbound rules I added Route tables into vpc but no luck to access ec2 instance using ssh

mart31
已提问 1 年前305 查看次数
3 回答
0

Hi, Few additional things to check:

  1. Does your ec2 instance have a public IP address?
  2. Do you have an internet gateway attached to your VPC and does the subnet where the instance is located have a route to the internet gateway?
  3. Do you have any non-defauly Network access control lists that might be blocking traffic?
已回答 1 年前
  • 1.yes. 2. yes. Default vpc and have subject with route table and attached igw 3. Not default custom SG with ssh,https,http, and custom tcp port configured, I had tried default SG it also wont work.

0
  1. yes.
  2. yes. Default vpc and have subject with route table and attached igw
  3. Not default custom SG with ssh,https,http, and custom tcp port configured, I had tried default SG it also wont work.
mart31
已回答 1 年前
0

Is the subnet where the instance is located associated to the route table where you have the IGW attached? Do you have a specific IP address in the security group for the source(i.e. x.x.x.x/32) for the inbound rule or do you have 0.0.0.0/0?

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则