-
请问云端存储使用 S3 协议时,是否支持纯 IPV6 地址?
2024-05-07 22:52一样的问题,要说不支持 IPV6,从外网用 IPV6 是可以的,反而局域网不可以,日志显示:
2024/05/07 22:45:38 net.go:122: check url [http://xxxx.yyy.zzz:56789/] is online failed: Get "http://xxxx.yyy.zzz:56789/": dial tcp: lookup xxxx.yyy.zzz: getaddrinfow: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
再补充一下情况:
1.局域网 IPV6 无问题,通过 IPV6 可以正常访问同一台机器的其他端口(WEB)
2.通过 ssh host -p port -vvvv 连接 s3 服务可以连接,找了一大堆本地证书文件后报:
debug1: kex_exchange_identification: banner line 0: HTTP/1.1 400 Bad Request
debug1: kex_exchange_identification: banner line 1: Content-Type: text/plain; charset=utf-8
debug1: kex_exchange_identification: banner line 2: Connection: close
debug1: kex_exchange_identification: banner line 3:
kex_exchange_identification: Connection closed by remote host- 用浏览器访问 S3 ipv6 api 地址,直接跳转到 console 端口(页面)