amazon-web-services - 无法从 ec2 linux 实例连接到特定域
问题描述
我正在尝试从 ec2 微型实例连接到以下域:http ://www.bnm.gov.my但它似乎被阻止了。
我尝试使用 curl 做一个简单的请求。
curl http://www.bnm.gov.my
这给了我以下错误:
curl: (7) Failed to connect to www.bnm.gov.my port 80: Connection timed out
我试过 wget
wget http://www.bnm.gov.my
并得到以下错误:
--2018-10-31 14:33:06-- http://www.bnm.gov.my/
Resolving www.bnm.gov.my (www.bnm.gov.my)... 103.6.236.129
Connecting to www.bnm.gov.my (www.bnm.gov.my)|103.6.236.129|:80... failed: Connection timed out.
Retrying.
此外,traceroute 超时。
我可以从我的电脑以及像 downforeveryoneorjustme dot com 和 uptrends 这样的网站访问该网站,以检查该网站是否有任何问题,但这似乎是我的亚马逊实例。
我可以访问互联网,我可以使用 curl 请求其他网站...但是这个特定的网站无法正常工作...
感谢您对如何解决此问题的任何想法!
VPC 的当前 ACL 配置。(实例在 VPC 中运行)
Outbound
Rule # Type Protocol Port Range Destination Allow/Deny
100 All IPv4 traffic all all 0.0.0.0/0 ALLOW
* All IPv4 traffic all all 0.0.0.0/0 DENY
解决方案
推荐阅读
- animation - Fabric jsstickman - 以编程方式为四肢设置动画并保持所有圆圈和线条之间的关节
- java - MediaPlayer onError 永远不会被调用
- python - 由张量流中的索引张量指定的切片二维张量
- android - 如何通过单击第一个片段的按钮将消息从一个片段发送到另一个片段?
- python - 如何从csv文件中读取前两列
- javascript - 解构扩展的 javascript 参数
- java - 在java中用于嵌套函数的编码实践
- r - 尝试在 R 中抓取 PDF,我的代码只会抓取 9 页中的 6 页,我不知道为什么,我的代码中是否遗漏了什么?
- c# - 清除文本框值
- vb.net - 完成执行任务“RdlCompile”——Visual Studio 2015 中的 FAILED 错误