开发者社区 问答 正文

无法连接到服务器

开发文件上传时:
1.不设置
conf.ProxyHost = "8.8.8.8";
 conf.ProxyPort = 3128;
的话会报错:
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
2.设置后无法连接到服务器,
由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 8.8.8.8:3128

展开
收起
---= 2018-10-31 17:11:10 1019 分享 版权
1 条回答
写回答
取消 提交回答
  • 元始天尊座下首席皮皮虾
    你的代理服务器IP写错了, 8.8.8.8是DNS服务器,不会提供代理服务的。
    2018-10-31 17:12:37
    赞同 展开评论