Redis External Access configuration (BIND is configured correctly) after Redis is deployed, it is found that external access to Redis is not available. Maybe you've looked at me the same night. Many posts, most of which are similar, are set up in the Redis configuration of bind, this setting to change the real IP address of your server, is actually wrong. I follow the online persuasion, set up, but will find that Redis can not start, after executing the start command did not respond, and then cut back to 127.0.0.1 after normal startup, looked at a lot of posts are like this, inadvertently saw this post, http://www.2cto.com/ Database/201507/419799.html, the latter part is the correct explanation of bind, is that he said difficult to understand, especially #. Bind is to configure a network interface, to receive this interface sent over the request, so you have to bind 2 network card, a local an external, tried, indispensable, only local, external access, set up the external, can not start, may be I configured the cause of the cluster or other, specific unclear, So here we have to configure 2. Looking at this post, I made a bold attempt to append the server IP configuration and comment out on the original basis. # bind 127.0.0.1 # bind 192.168.1.4 According to the original words, all commented out He will receive the request together. The attempt is right, the comment is off and the boot succeeds, and the external port is ping. I do not know why, # commented out is the correct configuration, alas, very strange.
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.