今天运行redis服务端时候出现这个问题:
D:\php\software\redis>redis-server.exe [484] 04 Dec 21:49:00.797 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server.exe /path/to/redis.c onf [484] 04 Dec 21:49:00.837 # Creating Server TCP listening socket *:6379: listen: Unknown error
意思就是读取默认配置失败,请手动指定启动配置文件
解决方案:
D:\php\software\redis>redis-server.exe ./redis.windows.conf _._ _.-``__ ‘‘-._ _.-`` `. `_. ‘‘-._ Redis 3.2.100 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ‘‘-._ ( ‘ , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|‘` _.-‘| Port: 6379 | `-._ `._ / _.-‘ | PID: 3224 `-._ `-._ `-./ _.-‘ _.-‘ |`-._`-._ `-.__.-‘ _.-‘_.-‘| | `-._`-._ _.-‘_.-‘ | http://redis.io `-._ `-._`-.__.-‘_.-‘ _.-‘ |`-._`-._ `-.__.-‘ _.-‘_.-‘| | `-._`-._ _.-‘_.-‘ | `-._ `-._`-.__.-‘_.-‘ _.-‘ `-._ `-.__.-‘ _.-‘ `-._ _.-‘ `-.__.-‘ [3224] 04 Dec 21:49:12.586 # Server started, Redis version 3.2.100 [3224] 04 Dec 21:49:12.587 * DB loaded from disk: 0.001 seconds [3224] 04 Dec 21:49:12.590 * The server is now ready to accept connections on po rt 6379
启动成功
解决启动redis出现的creating server tcp listening socket *:6379: listen: unknown error
标签:serve using sock seconds port error alt 默认 socket
原文地址:https://www.cnblogs.com/roak/p/14306202.html