Reputation: 8246
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
Specifying Config File
Running the command:
But the problem persists, if I try connecting to the client:
Upvotes: 6
Views: 25152
Reputation: 361
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
Upvotes: 0
Reputation: 1
redis-server --port 6380 --slaveof 127.0.0.1 6379 it happened when i tried it too
Upvotes: 0
Reputation: 1006
redis-server --port 6380 --slaveof 127.0.0.1 6379
https://developer.redis.com/create/windows/
https://github.com/microsoftarchive/redis/releases
https://linuxhint.com/install-run-redis-windows/ https://hackthedeveloper.com/how-to-install-redis-on-windows-10/
Upvotes: 2
Reputation: 1816
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
Upvotes: 15
Reputation: 3423
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)
Upvotes: 5