Current location - Quotes Website - Collection of slogans - Java jedis cannot connect to redis. The firewall is closed. Ip can ping the port number to open the configuration file, but it cannot connect.
Java jedis cannot connect to redis. The firewall is closed. Ip can ping the port number to open the configuration file, but it cannot connect.
View your redis profile. In the configuration file, you can set whether it can be accessed remotely. By default, it can only be accessed locally. Also, has your redis set a secure login name?