Readis for Windows installation and password, IP restrictions

Source: Internet
Author: User

First, download and install Readis

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

Download . MSI After the next installation can be

Second, verify the installation

1. In compute management, make sure Redis is started

2. Test Readis read/write with command

Third, the necessary configuration

1. Password restrictions

Cache information is often sensitive, and setting a password can effectively reduce the risk of data leakage from the cache. Settings are as follows:

2. Restricting IP access

The default limit is to use Redis only natively, and if you want to have external access, you need to locate the redis.windows-service.conf file in the installation directory, and locate the file location in:

Note where the red is marked, configure the rule:

1, instead of "# bind 127.0.0.1" is not restricted IP access (preceded by sign # ), if the machine has more than one IP, then use any one IP can access;

2. Instead of "bind 127.0.0.1 10.16.161.16", the restriction can only be accessed using the "native" IP. It can be used to assume that this machine has three IPs, but only two IP can access to Redis. Each IP is separated by a "space" character.

Note: Redis does not restrict access to the source IP and can set access passwords for data security.

Readis for Windows installation and password, IP restrictions

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.