redis-windows icon indicating copy to clipboard operation
redis-windows copied to clipboard

listen: Unknown error

Open owllyi opened this issue 2 years ago • 7 comments

[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~~~

owllyi avatar Aug 04 '22 10:08 owllyi

please try to change port and test it

zkteco-home avatar Aug 05 '22 03:08 zkteco-home

any update?

zkteco-home avatar Aug 06 '22 07:08 zkteco-home

use 16397, not work~

owllyi avatar Aug 10 '22 16:08 owllyi

you send me more detail,how did you start redis?what is your config file?this issue looks port is occupied

zkteco-home avatar Aug 11 '22 11:08 zkteco-home

try to change bind 127.0.0.1 -::1 to bind 0.0.0.0 -::1

zkteco-home avatar Aug 12 '22 15:08 zkteco-home

image Windows11 also experienced this problem, with port 6379 not being used

Ostrich5yw avatar Aug 15 '22 02:08 Ostrich5yw

my environment is under Windows 11,we recommand redis-server.exe redis.conf

image

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"

zkteco-home avatar Aug 15 '22 08:08 zkteco-home

遇到同样的问题 修改 bind 127.0.0.1 ::1 为 bind 127.0.0.1 后启动成功

ldmzw avatar Aug 26 '22 07:08 ldmzw

遇到同样的问题 修改 bind 127.0.0.1 ::1 为 bind 127.0.0.1 后启动成功

2008 R2上同样问题,按你的方案解决,WIN10上却没问题,真搞不懂。

andywu188 avatar Aug 29 '22 09:08 andywu188

I tested it on Windows 2008 R2, it works fine for bind 127.0.0.1 or bind 127.0.0.1 ::1

zkteco-home avatar Aug 29 '22 09:08 zkteco-home

以下截图配置是: port 6379 bind 127.0.0.1 ::1 image

以下截图配置是: port 26379 更换了端口 bind 127.0.0.1 ::1 image

以下截图配置是: port 6379 bind 127.0.0.1 image

以下是网络配置信息 image

andywu188 avatar Aug 29 '22 09:08 andywu188

Thanks

zkteco-home avatar Aug 29 '22 12:08 zkteco-home