AWS web服务器 无法从外网访问 EC2

wudikuail 2015-06-12 01:09:29
小弟刚刚接触AWS,搞了一台t2.micro的windows机子。为了测试,安装了一个wamp。安装和配置后,采用弹性IP,将某个外网地址52.X.X.X和内网地址172.X.X.X关联,发现无法通过外网地址访问,但是内网和本机127.0.0.1访问均正常。安全组设置中,入网和出网的80端口都开了。请问这是什么原因?谢谢各位!
...全文
20725 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_38874225 2018-01-23
  • 打赏
  • 举报
回复
防火墙和安全组都配置了还是不行呀。楼主怎么解决的?
993356686 2016-11-14
  • 打赏
  • 举报
回复
我也搞了好久,楼上说的对!去服务器——防火墙——添加端口。。。。再不行直接关闭防火墙!
chenyanbo 2015-11-19
  • 打赏
  • 举报
回复
我在aws控制台——安全组设置了入站规则,然后在去服务器——防火墙——添加端口就可以了
PonyNiu 2015-07-26
  • 打赏
  • 举报
回复
兄弟,我也遇到和你一样的问题了,我安全组设置的入站请求是全部允许的,If you do not see the Bitnami test page, use Windows Firewall with Advanced Security to create a custom rule that allows the HTTP protocol through port 80 and the HTTPS protocol through port 443.这句话是不就意味着要用远程桌面登录到服务器上面修改设置?
wudikuail 2015-06-12
  • 打赏
  • 举报
回复
问题已经解决,来自windows firewall。如果有人有同样的话,请参考这句话 If you do not see the Bitnami test page, use Windows Firewall with Advanced Security to create a custom rule that allows the HTTP protocol through port 80 and the HTTPS protocol through port 443. For more information, see Windows Firewall with Advanced Security Overview on Microsoft TechNet. Also verify that the security group you are using contains a rule to allow HTTP (port 80) connections. For information about adding an HTTP rule to your security group, see Adding Rules to a Security Group. PS: 可以将Bitnami认作WAMP
wudikuail 2015-06-12
  • 打赏
  • 举报
回复
美国的,但并不是被墙。我用服务器自己访问自己都访问不了。 用服务器访问 127.0.0.1 成功 172.x.x.x 成功 52.x.x.x 失败
丘秉宜keith 2015-06-12
  • 打赏
  • 举报
回复
是国内还是国外的AWS啊?这个很关键啊

409

社区成员

发帖
与我相关
我的任务
社区描述
AWS
社区管理员
  • AWS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧