Redis: Can not assign requested address solutions

Said pressure sensing applications developed redis have given redisCannot assignrequestedaddress connection, and check some information from the Internet, said the three are modified linux kernel parameters
sysctl -w net.ipv4.tcp_timestamps = 1
sysctl -w net.ipv4.tcp_tw_recycle = 1
echo 1> / proc / SYS / NET / ipv4 / tcp_tw_reuse
after implementation remains an error, check redis no abnormalities, the number of connections is not high, TCP connection nor TIME-WAIT, thus excluding redis and server files allow developers to troubleshoot it applied problems. After finally found jedis no longer used as a default after springboot2.0 client, connection pool configuration is wrong, no longer modify the configuration errorHere Insert Picture Description

Guess you like

Origin blog.csdn.net/u014609263/article/details/93625347