Help Center> Distributed Cache Service> User Guide (ME-Abu Dhabi Region)> FAQs> Redis Usage> Can I Customize or Change the Port for Accessing a DCS Instance?
Updated on 2022-02-21 GMT+08:00

Can I Customize or Change the Port for Accessing a DCS Instance?

You cannot customize or change the port for accessing a DCS Redis 3.0 instance. You can customize but cannot change the port for accessing a DCS Redis 4.0 or 5.0 instance.

  • Redis 3.0

    Use port 6379 for intra-VPC access.

  • Redis 4.0 and Redis 5.0

    You can specify a port (ranging from 1 to 65535) or use the default port (6379) for accessing a DCS Redis 4.0 or 5.0 instance. If no port is specified, the default port will be used.

If the instance and the client use different security groups, you must configure access rules for the security groups, allowing access through the specified port. For details, see Security Group Configurations.