What is the public URL of my EC2 instance?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Some sources suggest that it's https://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com/ (where xxx-xxx-xxx-xxx is the public IP address of the machine). But when I navigate there Chrome says This site can’t be reached . 回答1: Just use host command and specify your public IP - it will show you the right URL, e.g. $ host 52.204.122.132 132.122.204.52.in-addr.arpa domain name pointer ec2-52-204-122-132.compute-1.amazonaws.com. where ec2-52-204-122-132.compute-1.amazonaws.com is your domain. So you can add https:// in front of it to access the