如何通过公网连接Redis实例,请参考:https://help.aliyun.com/document_detail/43850.html
创建Redis实例(https://help.aliyun.com/apsara/enterprise/v_3_16_2_20220708/kvstore/enterprise-user-guide/what-is-apsaradb-for-redis.html)
请使用这个URL地址定位下本地的公网IP地址。请参考: http://whatismyip.akamai.com
将IP添加到Redis白名单
使用客户端进行公网连接