Readis For Windows Installation and password, IP address restriction, readisip

Source: Internet
Author: User

Readis For Windows Installation and password, IP address restriction, readisip

1. Download and install Readis

Github: https://github.com/MicrosoftArchive/redis/tags

Download. MSI and then install it.

Ii. Verify Installation

1. In "computing Management", make sure that "Redis" has been started.

 

2. Run the command to test Readis reading and writing.

 

 

3. Necessary configurations

1. Password restrictions

Cache Information is usually sensitive. Setting a password can effectively reduce the possibility of cache data leakage. The settings are as follows:

 

 

2. Restrict IP Access

By default, only Redis can be used on the local machine. To provide external access, you need to find the redis. windows-service.conf file in the installation directory, find the file location in:

 

 

Pay attention to the red area and configure the rules:

1. Change "# bind 127.0.0.1" to "# bind 127.0.0.1" without limiting IP Access.#). If the local machine has multiple IP addresses, any IP address can be used for access;

2. Change "bind 127.0.0.1 10.16.161.16" to indicate that only the IP addresses of the local machine can be used for access. It can be used to assume that the local machine has three IP addresses, but only two IP addresses are allowed to access Redis. Each IP address is separated by a space character.

Note: Redis does not restrict access from source IP addresses. You can set an access password for data security.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.