To modify the maximum number of Redis connections
You can modify the maxclients parameters in the redis.conf configuration file;
Or when you start the Redis.service service, add a parameter--maxclients 100000来 set the maximum number of connections limit
Redis-server--maxclients 100000-f/etc/redis.conf
Command line view maximum number of Redis connections
127.0.0.1:6379> CONFIG get maxclients
1) "MaxClients"
2) "10000"
127.0.0.1:6379>
Get client information commands in the REDIS-CLI command control line
Client List Get clients lists
CLIENT SetName Sets the name of the current connection point Redis
CLIENT GETNAME View the name of the current connection
CLIENT kill Ip:port Kill specified connection
Test remote Connection Redis server
You can install Telnet on a remote server, such as using the CentOS on the
Yum Install Telnet
Yum Install Telnet-server
Then use telnet remote server IP remote Redis port number, such as
Telnet 10.10.27.112 6379
If you can connect successfully, you can match the View Remote connection command above to confirm that the connection is successful.