I hosted a redis-server on my droplet, and cannot connect using RedisDesktopManager on my computer, someone please help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Could be that remote connections are disabled. Enable it on your own risk, make sure you read warning bellow!
You can check redis.conf to verify is it enabled. There are to relevant settings, bind - by default it only allows connections from local, and protected-mode that makes Redis to reply only on queries from loopback interfaces.
To enable it, first open the conf file:
- sudo nano /etc/redis/redis.conf
For start find bind line. By default, it should be bind 127.0.0.1. To allow access from everywhere, you have to change it to bind 0.0.0.0.
Next one is protected-mode. To enable remote connections set it to no: protected-mode no.
Also, make sure lines are not commented, i.e. it doesn’t have `# in front of it.
You are ready to save file and exit editor. To make changes in effect Redis restart is required:
- sudo systemctl restart redis
But please, be EXTREMLY CAREFUL! This is very dangerous, you must consider implementing AUTH method of if not, you are exposing your Redis instance to everyone on the Internet. As I said, it’s extremely dangerous to change above config, but if you have to do so, at least implement Auth. This Redis blog post can be helpful. Do it on your own risk!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.