redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. .
不太懂,怎么弄?
高洛峰2017-04-24 09:15:00
The questioner needs to start the redis service of the host:
System: Linux | Unix
Use the commonly used ./configure, then make install to install, and then
$ redis-server
$ redis-cli
to start the redis service
System: Windows
windows compiles, installs and starts the redis service through VS. The steps are:
<1> Download the source code from the official website
redis-win-2.8.17.1.zip(其他版本未测试,理应可行)
<2> After decompressing, open the project in VS
redis-win-2.8.17.1\msvs\RedisServer.sln
<3> After compilation, get
under msvsDebugredis-server.exe
redis-benchmark.exe
redis-check-aof.exe
redis-check-dump.exe
redis-ci.exe
<4> Start the host redis service
Double-click the generated redis-server.exe, redis-ci.exe
Reference URL:
linux installation
http://redis.io/download
window installation
https://github.com/MSOpenTech/redis