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 年前檢視次數 307 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南