redis连接错误:Could not connect to Redis at 127.0.0.1:6379: Connection refused

After starting redis, when you want to stop the service and found this error:

the reason:

In the time before the start of redis foreground, there is no pid file, and then I will start redis into the background, but did not kill redis process.

Solution:

Redis process will kill it.

Guess you like

Origin www.cnblogs.com/allenyip/p/10927105.html