如何通过公共DNS ACCES亚马逊服务器 [英] How to Acces Amazon Server through Public Dns
本文介绍了如何通过公共DNS ACCES亚马逊服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新手,亚马逊的网络服务器。在我的Windows实例我已经安装了Apache网络服务器。当使用本地主机的浏览器,它显示了网页的工作原理,但我无法从公共DNS得到这个页面。 ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com
I am newbie to amazon webserver. On my windows instance i have installed apache webserver. When using localhost in browser it shows the page "it works" but i am unable to get this page from public DNS. ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com
推荐答案
您需要打开防火墙:
1. create a security group, such as `IIS-web-group`
2. set inbound ports
Type Protocol Port Range Source
HTTP TCP 80 0.0.0.0/0
3. assign this security group to that ec2 instance.
然后做从客户端,Telnet测试,例如计算机
Then do a telnet test from your client, such as your computer
telnet ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com 80
如果你可以远程登录,那么你应该罚款,现在访问该网站。
if you can telnet, then you should be fine to access the web site now.
这篇关于如何通过公共DNS ACCES亚马逊服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文