redis启动错误: Warning: no config file specified, using the default config. In order to specify a config

redis启动错误: Warning: no config file specified, using the default config. In order to specify a config

windows下redis启动时遇到错误:

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

猜你喜欢

转载自www.cnblogs.com/fengkun125/p/10557449.html