Home > Database > Redis > How does RedisDesktopManager connect to redis remotely?

How does RedisDesktopManager connect to redis remotely?

WBOY
Release: 2023-05-26 13:07:06
forward
2110 people have browsed it

1. Download RedisDesktopManager

Just go to the official website or search on csdn

2.Install RedisDesktopManager

Foolish installation, just keep clicking next

That’s it after the installation is completed

How does RedisDesktopManager connect to redis remotely?

3. Establish a remote connection

The following preparations are required before starting the connection

Modify the redis.conf file Commandvim redis.conf

If your redis.conf is in other files, you need to add the file path

For example, mine is in the etc directory, just in redis Add /etc

vim /etc/redis.conf
Copy after login

How does RedisDesktopManager connect to redis remotely?

#1. Set the host IP of the virtual machine/or set it to 0.0.0.0 to open all

I commented it out directly here, and then used the ps -ef | grep redis command to view

How does RedisDesktopManager connect to redis remotely?

and it’s enough to display this*

2. Set protected-mode to no and turn off the protected mode before you can connect remotely.

Find protected-mode in redis.conf and set it to no

If Searching directly in redis.conf is too slow. Here you can directly /protected to achieve quick search

How does RedisDesktopManager connect to redis remotely?

3. Then we need to Set redis to start in the background, that is, set deamonize to yes

How does RedisDesktopManager connect to redis remotely?

## 4. Remember to turn off the firewall

Startup:

systemctl start firewalld

View status:

systemctl status firewalld

Stop:

systemctl disable firewalld

Disable :

systemctl stop firewalld

Then you can start connecting

How does RedisDesktopManager connect to redis remotely?

You can click on the lower left corner to test it first

How does RedisDesktopManager connect to redis remotely?

Then that’s it

The above is the detailed content of How does RedisDesktopManager connect to redis remotely?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template