您刚刚开始使用s3亚马逊服务
当我尝试访问
时s3.amazonaws.com/bucket_name/file.html
我收到类似
的错误消息The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
但我可以访问
bucketname.s3.amazonaws.com/file.html
如何访问我的文件
像这样答案 0 :(得分:1)
以编程方式,您必须使用像US-East-1这样的区域端点。它是您存储存储桶的服务器。