Redis on windows server: no config file specified

22k views Asked by At

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

5

There are 5 answers

0
Mohamed Beshri Amer On

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
0
alaboudi On

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)

1
Süleyman Özdemir On

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

0
sathishkumar On

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