Use an endpoint that supports IPv6 to access OSS

Updated at: 2025-02-11 02:17

Internet Protocol version 6 (IPv6) is the latest version of the Internet Protocol developed by the Internet Engineering Task Force (IETF) to replace Internet Protocol version 4 (IPv4). IPv6 can provide sufficient IP addresses to meet future requirements. You can access OSS by using dual-stack endpoints that support both IPv4 and IPv6.

You can use a dual-stack endpoint to access your bucket from your client. The Domain Name System (DNS) server resolves the endpoint to an IPv6 or an IPv4 address and returns the OSS server address based on the protocol used by the client. For example, the public endpoint for the China (Hangzhou) region is cn-hangzhou.oss.aliyuncs.com. If you have a bucket named examplebucket in this region, you can access the bucket from an IPv4 client and an IPv6 client by using the same domain name: https://examplebucket.cn-hangzhou.oss.aliyuncs.com.

Important

You cannot access OSS from ECS over the classic network by using IPv4 or IPv6.

You can use the following endpoints to access OSS over IPv6:

Note

The OSS console displays only the endpoints that support IPv4. The endpoints that support IPv6 can also be used to access OSS buckets. The following table describes the endpoints that support IPv6. For more information about endpoints, see Regions and endpoints.

Region

Endpoint

Region

Endpoint

China (Hangzhou)

cn-hangzhou.oss.aliyuncs.com

China (Shanghai)

cn-shanghai.oss.aliyuncs.com

China (Qingdao)

cn-qingdao.oss.aliyuncs.com

China (Beijing)

cn-beijing.oss.aliyuncs.com

China (Zhangjiakou)

cn-zhangjiakou.oss.aliyuncs.com

China (Hohhot)

cn-huhehaote.oss.aliyuncs.com

China (Ulanqab)

cn-wulanchabu.oss.aliyuncs.com

China (Shenzhen)

cn-shenzhen.oss.aliyuncs.com

China (Heyuan)

cn-heyuan.oss.aliyuncs.com

China (Guangzhou)

cn-guangzhou.oss.aliyuncs.com

China (Chengdu)

cn-chengdu.oss.aliyuncs.com

China (Hong Kong)

cn-hongkong.oss.aliyuncs.com

China East 1 Finance

cn-hangzhou-finance.oss.aliyuncs.com

China East 2 Finance

cn-shanghai-finance.oss.aliyuncs.com

China South 1 Finance

cn-shenzhen-finance.oss.aliyuncs.com

    Feedback