Current location - Quotes Website - Team slogan - How does Redis access remote server segments through local clients?
How does Redis access remote server segments through local clients?
The default port numbers of 1 and Redis are 127.0.0. 1, and the default port number is 6379.

2. If this computer accesses a computer with a remote IP of132.1.114.44, it must first open its server on the remote computer with Redis installed, redis.server.exe.

3. Next, run the redis.cli.exe on this machine, which can also be realized through the command line: enter -h remote computer IP -p 6379 connection:

4. Next, if you want to connect to the remote Redis database with your own client, you only need to input the IP of the remote computer.