[Redis Chapter 5] Remote access to Redis based on C#/python

Source: Internet
Author: User
Tags redis server

This redis is installed on Ubuntu Linux virtual machine, based on Vmplayer.


1. Setting up VMS with VMnet1


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/29/wKiom1dNKgbT_0u5AAB2SBhkfBE256.png-wh_500x0-wm_3 -wmp_4-s_842461040.png "title=" Image 1.png "alt=" Wkiom1dnkgbt_0u5aab2sbhkfbe256.png-wh_50 "/>



2. View Native IP


650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/82/28/wKioL1dNL-TD-voSAAFyq3GlF5c901.png-wh_500x0-wm_3 -wmp_4-s_90885451.png "title=" Image 2.png "alt=" Wkiol1dnl-td-vosaafyq3glf5c901.png-wh_50 "/>


3. Modify the redis.conf of Redis server to enable it to support external IP



650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/29/wKiom1dNMk_ScdNCAAGyaq9jYAo686.png-wh_500x0-wm_3 -wmp_4-s_4115127183.png "title=" Image 3.png "alt=" Wkiom1dnmk_scdncaagyaq9jyao686.png-wh_50 "/>



4. Start Redis with Conf


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/28/wKioL1dNNDahxwDOAAH-cdpRTjM761.png-wh_500x0-wm_3 -wmp_4-s_710961713.png "title=" Image 4.png "alt=" Wkiol1dnndahxwdoaah-cdprtjm761.png-wh_50 "/>


5. Python remote access to Redis server


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/28/wKioL1dNNG-Q73CRAACW63ueQWs267.png-wh_500x0-wm_3 -wmp_4-s_137816790.png "title=" Image 5.png "alt=" Wkiol1dnng-q73craacw63ueqws267.png-wh_50 "/>


Redisclient:

[Email protected]:~/redis-2.8.12/src$ redis-cli-h 192.168.162.128-p 6379


This article is from the "Software Design and Development" blog, please be sure to keep this source http://yuanzhitang.blog.51cto.com/2769219/1784828

[Redis Chapter 5] Remote access to Redis based on C#/python

Related Article

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.