EC2 Cannot connect to internet

0

Hello I have EC2 Instance and I had apply all the configurations and internet gateway, elistic ip etc but now i can use ping but i could not use : apt install wget cURL any one face this issue

已提問 2 年前檢視次數 293 次
1 個回答
0

Hello, assuming that you were able to install, wget and curl will typically use port 80 for HTTP and port 443 for HTTPS. The security group will have to allow this traffic which you check here. If you were unable to install wget and curl, the resolution will depend on the error you are recieving. The most common causes are not having the right permissions to install (e.g. not using sudo) or not being able to reach the repository endpoint (again port 443 needs to be allowed in the security group).

AWS
支援工程師
Tipu_Q
已回答 2 年前

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

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

回答問題指南