我是新手,亚马逊的网络服务器。在我的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.