Help Center/ Distributed Cache Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Redis Usage/ Can I Customize or Change the Port for Accessing a DCS Instance?
Updated on 2024-07-29 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 or Memcached instance. You can customize (during instance creation) but cannot change the port for accessing a DCS Redis 4.0, 5.0, or 6.0 instance.

  • Redis 3.0

    Intra-VPC access: port 6379.

  • Memcached

    Use port 11211 for intra-VPC access. Public access is not supported.

  • Redis 4.0 and later

    You can specify a port (ranging from 1 to 65535) or use the default port (6379) for accessing an 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.