• notice
  • Congratulations on the launch of the Sought Tech site

Ways to resolve JedisConnectionException

Use maven to connect to redis and report a JedisConnectionException error, as follows:



Find the corresponding startup redis.conf file

1. Set the bind configuration, commented

2. Set the protected-mode configuration to no

3. Turn off the firewall of the machine

[root@localhost ~]# systemctl stop firewalld.service

 4. Execute the connection again successfully



Technical otaku

Sought technology together

Related Topic


Leave a Reply