如何查看网站Amazon EC2实例启动的? [英] How to view website launched in Amazon EC2 instance?

查看:137
本文介绍了如何查看网站Amazon EC2实例启动的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跟亚马逊EC2 <提供的步骤/ A>。我已经安装在EC2实例中字preSS的网站。

我的公共DNS是作为ec2-xx-xxx-xx-xxx.us-west-2.compute.amazonaws.com/ 与公共IP也给出XX-XXX-XX-XXX。

如何查看从任何其他机器的网站?

请注意:

  1. EC2实例被创建并开始运行。

  2. 我可以使用RDP在本地主机以及在EC2实例的公共DNS查看。 ( http://ec2-xx-xxx-xx-xxx.us-west-2.compute.amazonaws.com/

解决方案

如果你能看到网站在EC2实例,而不是从别的机器,有可能是下面的东西错了:

  1. DNS条目不可用或者是错误的。既然你可以使用RDP该条目,这不可能是原因。
  2. 访问到正确的端口被封锁的安全组或防火墙。既然你专门引用的说明说,以确保这两个端口80(HTTP)和3389(RDP)是开放的,你知道它是从端口3389属实,这是不太可能的,但也是可能的。确保有是看起来相同的两个端口号的安全组规则。
  3. 在Windows服务器本身拒绝允许外部访问端口80上的地址。这是不可能的,但不是不可能的,和​​指令规定,你应该禁用Internet Explorer增强安全配置,并在年底覆盖使你的道preSS网站公开。确保Web服务器没有被配置为只对本地请求作出回应(127.0.0.1),而且没有任何的Windows防火墙规则阻止端口80。

我认为,最有可能的问题是2号,上面。也许你忘了在安全组打开80端口,或键入一个不同的端口号或不同的地址范围,将其打开。

I have followed the steps provided by Amazon EC2. I have installed a wordpress website in the EC2 Instance.

My public DNS is given as ec2-xx-xxx-xx-xxx.us-west-2.compute.amazonaws.com/ and Public IP is also given as xx-xxx-xx-xxx.

How to view the website from any other machine?

Note:

  1. EC2 Instance is created and running now.

  2. I can view it in the localhost as well as public DNS in the EC2 instance using RDP. (http://ec2-xx-xxx-xx-xxx.us-west-2.compute.amazonaws.com/)

解决方案

If you can see the web site from the EC2 instance, but not from other machines, there is probably one of the following things wrong:

  1. The DNS entry is not available or is wrong. Since you can RDP using that entry, this can't be the cause.
  2. Access to the correct port is being blocked by the security group or firewall. Since the instructions you referenced specifically say to make sure that both port 80 (HTTP) and 3389 (RDP) are open, and you know that is true from port 3389, this isn't likely, but is possible. Make sure that there are security group rules for both port numbers that look the same.
  3. The Windows server itself is refusing to allow outside access to port 80 on that address. This is unlikely, but not impossible, and the instructions specify that you should "disable Internet Explorer Enhanced Security Configuration", and at the end cover "Making Your WordPress Site Public". Make sure that the web server isn't configured to only respond to requests from localhost (127.0.0.1) and that there are no Windows firewall rules blocking port 80.

I think that the likeliest problem is number 2, above. Perhaps you forgot to open port 80 in the security group, or typed a different port number or a different address range to open it to.

这篇关于如何查看网站Amazon EC2实例启动的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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