A problem description appears:
1.Could not get a resource from the pool, Connection refused:connect
Windows Java side Client link is rejected, think about the problem
1.Vmware Linux installed Redis has started normally
2. In Windows with SSH Client link Linux can operate Redis
3.linux Firewall is off
4. The IP of Linux can also be spelled through
Supposedly, it should be okay, use Telnet to test the lower port.
192.168. 0.104 6379
The discovery port could not be linu, but the other ports can be spelled through, which means Redis itself is configured.
Looked under the configuration file, found that the configuration file is bound to the local IP, this configuration will cause the other IP login is rejected, so we commented it out
The next test run, sent first has been linked, the problem solved, but there are new problems: DENIED Redis is running in protected mode because protected mode is enabled ...
The problem is that Redis is currently in protected mode, does not allow non-local client links, we can set a password to Redis, and then the client link, the time to write a password can be resolved
Commands for configuring Redis
Config set Requirepass 123->123 is the password
Now the Java client configures the host IP number, the password can be linked to the
The Java client is not linked to the Redis solution