redis-windows
redis-windows copied to clipboard
listen: Unknown error
[030812] 04 Aug 18:00:47.789 # RedisWin is starting ...... [030812] 04 Aug 18:00:47.789 # RedisWin version=7.0.4, bits=64, commit=07/20/2022, modified=0, pid=30812, just started [030812] 04 Aug 18:00:47.790 # Configuration loaded [030812] 04 Aug 18:00:47.793 * monotonic clock: POSIX clock_gettime [030812] 04 Aug 18:00:47.795 # Warning: Could not create server TCP listening socket ::1:6379: listen: Unknown error [030812] 04 Aug 18:00:47.795 # Failed listening on port 6379 (TCP), aborting.
System is Win10 X64,Help please, Thanks~~~
please try to change port and test it
any update?
use 16397, not work~
you send me more detail,how did you start redis?what is your config file?this issue looks port is occupied
try to change bind 127.0.0.1 -::1 to bind 0.0.0.0 -::1
Windows11 also experienced this problem, with port 6379 not being used
my environment is under Windows 11,we recommand redis-server.exe redis.conf
if above solution no work,you try to change following:
bind 127.0.0.1 needed use the actual IP address
protected-mode yes needed to be set to "no"
遇到同样的问题 修改 bind 127.0.0.1 ::1 为 bind 127.0.0.1 后启动成功
遇到同样的问题 修改 bind 127.0.0.1 ::1 为 bind 127.0.0.1 后启动成功
2008 R2上同样问题,按你的方案解决,WIN10上却没问题,真搞不懂。
I tested it on Windows 2008 R2, it works fine for bind 127.0.0.1 or bind 127.0.0.1 ::1
以下截图配置是:
port 6379
bind 127.0.0.1 ::1
以下截图配置是:
port 26379 更换了端口
bind 127.0.0.1 ::1
以下截图配置是:
port 6379
bind 127.0.0.1
以下是网络配置信息
Thanks