Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redis as service fails with error code 87

Tags:

redis

I have installed Redis-64 using the chocolately package. When I try and install redis as a service on windows with command:

 redis-server.exe --service-install

I get the following error:

# HandleServiceCommands: system error caught. error code=1073, message = CreateService failed: unknown error

I have also tried just executing the exe on its own, but get another different error:

# Creating Server TCP listening socket *:6379: bind: No such file or directory

Has anyone else got this error before?

like image 290
Chris Avatar asked Dec 18 '22 18:12

Chris


1 Answers

Go to redis path and then

1) C:\Program Files\Redis>redis.windows.conf it will open file

2) Change port to 16379(higher) then run

3) C:\Program Files\Redis>redis-server.exe redis.windows.conf

like image 120
Lakshmi Narasimhulu Gujjula Avatar answered Jun 19 '23 10:06

Lakshmi Narasimhulu Gujjula