My newly created ubuntu instance is accesible via public ipv4 dns but not through public ipv4. also cant connect to instance using ssh.

0

Hello, firstly I want to create WordPress server for that first I have used Bitnami Wordpress server instance. but couldn't access it via public ipv4 but can access it via public ipv4 dns. that via I tried restarted it nothing happened, changes security groups nothing happened. assigned elastic IP nothing happened. then nothing was working so I terminated that instance. then after that It tried launching ubuntu instance and do it manually but that to I couldn't access, same issue persist.

已提問 9 個月前檢視次數 287 次
1 個回答
2
已接受的答案

Did you check if one of security group attached your EC2 instance allows TCP port 22 to your IP or All Traffic.

Is your instance is deployed in public subnet, could you please make sure that the subnet has internet gateway attached to it's route table, otherwise resources inside that subnet can't reach to internet and hence that subnet is not public. Please double check the routes.

AWS Documentation covers almost all the possible causes, which could prevent accessing the instance.

Hope you find this information helpful.

Comment here if you have additional questions.

Abhishek

profile pictureAWS
專家
已回答 9 個月前
profile picture
專家
已審閱 2 個月前
  • Sorry for the trouble problem was with my modem which I am using for internet connection. I don't know how but it doesn't allow particular addresses to be connected. When I try to connect using IP it doesn't allow. Then I tried contacting using different ISP then it got connected and I can also access my site.

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

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

回答問題指南