Redis on windows server: no config file specified
Asked Answered
R

5

5

I installed redis using chocolaty. Then, It was working normally, however I cannot start it again.

Running redis-server: reports a problem in config file

enter image description here

Specifying Config File

enter image description here

Running the command:

enter image description here

But the problem persists, if I try connecting to the client:

enter image description here

Rafe answered 29/12, 2016 at 17:38 Comment(0)
B
15

You could follow this page https://redis.io/topics/config

Try to start with the below command

redis-server --port 6380 --slaveof 127.0.0.1 6379

Beautiful answered 7/1, 2020 at 15:25 Comment(0)
E
5

I think you have to run redis-server.exe redis.windows.conf in your command prompt and it will work. I think the windows version needs you to specify the config file for it to work (which you can see is in the same directory)

Escapade answered 9/2, 2017 at 3:2 Comment(0)
B
0

redis-server --port 6380 --slaveof 127.0.0.1 6379 it happened when i tried it too

Banebrudge answered 21/6, 2023 at 10:55 Comment(1)
This isn't any different from the highest rated answer.Gabar
L
0

I had the same problem in Windows 10 and Windows 11 I am using Angular , Redius , ASP.NET Core sometime the Port is used so I just write these two commands in PoweShell on Adminstration Mode "run as administrator"

net stop winnat
net start winnat
Lafond answered 11/8, 2023 at 21:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.