redis啟動錯誤: Warning: no config file specified, using the default config. In order to specify a config
D:\redis>redis-server.exe
[13732] 29 Nov 11:35:57.446 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server.exe /path/to/redis.conf
意思是沒有默認的conf文件
然后把命令改成:D:\redis>redis-server.exe redis.windows.conf
即可啟動。
有時候還會遇到有關端口6379的錯誤。
只要把redis.windows.conf里面的#bind 127.0.0.1的“#”去掉即可以。
注:是# bind 127.0.0.1 ,不是# bind 127.0.0.1 ::1