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, 6.0 professional, or Memcached instance. You can customize and change the port for accessing a DCS Redis 4.0, 5.0, or 6.0 basic instance.
- Redis 3.0
Intra-VPC access: port 6379; public access without SSL: port 6379; public access with SSL: port 36379.
- Memcached
Use port 11211 for intra-VPC access. Public access is not supported.
- Redis 4.0/5.0/6.0
You can specify a port (ranging from 1 to 65535) or use the default port (6379) for accessing a DCS Redis 4.0/5.0/6.0 basic edition instance. If no port is specified, the default port will be used.
For Redis 6.0 professional edition, you cannot customize a port. The default port 6379 will be used.
Public access is not supported by DCS Redis 4.0/5.0/6.0 instances.
If the instance and the client are in different security groups, you must configure access rules for the security groups, allowing access through the specified port. For details, see How Do I Configure a Security Group?
Customizing a Port
When creating a DCS Redis 4.0, 5.0, or 6.0 basic edition instance, you can enter a port number for IP Address. If you do not specify a port, the default port 6379 is used.
Changing the Port
After a DCS Redis 4.0, 5.0, or 6.0 basic instance is created, you can change its port.
- In the navigation pane of the DCS console, choose Cache Manager.
- Click a DCS Redis instance.
- In the Connection area, click
next to Connection Address.
After the port is changed, all connections to the Redis instance are interrupted, and services are connected to the new port.
Redis Usage FAQs
- Can I Change the CPU Architecture?
- Can I Change the AZ for an Instance?
- Can I Change the VPC and Subnet for a DCS Redis Instance?
- Can I Customize or Change the Port for Accessing a DCS Instance?
- Can I Modify the Connection Addresses for Accessing a DCS Instance?
- Why Do I Fail to Delete an Instance?
- Why Does It Take a Long Time to Start a Cluster DCS Instance?
- What Should I Do If an Error Occurs in redis_exporter?
- What Is Reserved Memory? How Do I Configure Reserved Memory?
- Why Is Available Memory Smaller Than Instance Cache Size?
- Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?
- Does DCS for Redis Provide Backend Management Software?
- Can I Recover Deleted Data of a DCS Instance?
- Why Is Available Memory of Unused DCS Instances Less Than Total Memory and Why Is Memory Usage of Unused DCS Instances Greater Than Zero?
- How Do I Check Redis Memory Usage?
- Why Is the Capacity or Performance of a Shard of a Redis Cluster Instance Overloaded When That of the Instance Is Still Below the Bottleneck?
- Why Does an OOM Error Occur During a Redis Connection?
- What Clients Can I Use for Redis Cluster in Different Programming Languages?
- Why Do I Need to Configure Timeout for Redis Cluster?
- Why Am I Seeing a Timeout Error When Reading Data from Redis?
- Explaining and Using Hash Tags
- Why Does a Key Disappear in Redis?
- Will Cached Data Be Retained After an Instance Is Restarted?
- How Do I Know Whether an Instance Is Single-DB or Multi-DB?
- What Are the Constraints on Implementing Multi-DB on a Proxy Cluster Instance?
- How Do I Create a Multi-DB Proxy Cluster Instance?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore