如何访问/平位于AWS服务器? [英] How to access/ping a server located on AWS?

查看:163
本文介绍了如何访问/平位于AWS服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用什么的地址应位于AWS服务器来访问?

With what address should a server located on AWS be accessed?

我已经创建了一个AWS实例并在其上安装一个Web服务器。然而,服务器经由任何的不可达:

I've created an AWS instance and installed a web server on it. However the server is not reachable via any of the:

  1. ec2-174-129-24-92.compute-1.amazonaws.com
  2. 从实例的IP地址的ifconfig
  3. 在我的AWS仪表板创建并与实例关联的弹性IP地址

奇怪的是,SSH与 root@ec2-174-129-24-92.compute-1.amazonaws.com 工作正常。

Surprisingly, ssh with root@ec2-174-129-24-92.compute-1.amazonaws.com works fine.

可能是什么问题,如何将一个地址绑定到该实例?

What might be the problem and how to bind an address to the instance?

推荐答案

在您的安全组开-1 -1 ICMP的范围0.0.0.0/0,你就可以ping通。

In your security group open -1 to -1 on ICMP for range 0.0.0.0/0 and you'll be able to ping.

有一个更好的视野看我的截图:

See my screenshot for a better view:

图片张贴@emostar以下

Image posted by @emostar below

这篇关于如何访问/平位于AWS服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆