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

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 年前

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

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

回答问题的准则