I\'m using Redis 2.8 on Windows which I downloaded from github release. After unzip and I\'ve set maxheap in redis.windows.conf
file. After running redis-serv
cd
to the bin directory of Redis, and run
open another cmd window, cd
to the bin directory of Redis, and run
4.redis-server.exe
As @FeigMan said you must've used the .msi installer. It automagically registers a windows service which starts instantly after the installation.
I was getting below error:
[15052] 10 Apr 14:40:14.601 # Creating Server TCP listening socket *:6379: listen: Unknown error
If service is already running you will get above error.
As per need you can restart service by below commands:
redis-server --service-stop
redis-server --service-start
We had a similar/related "redis-server.exe" service hosting issue.
After installing the Redis Windows Service, we could access the service on port 6379 locally, but not from a remote client (even though the firewall was configured to allow inbound traffic on the port).
In order to resolve the issue, we had to edit the redis.windows-service.conf configuration file and change the following:
bind 127.0.0.1
needed use the actual IP addressprotected-mode yes
needed to be set to "no"After making the above changes, we restarted the Redis service and were able to connect from all clients.
Now service is normally.I run redis-cli.exe
in the same window,and it connect correctly.Then I typed shutdown,the service is over.Reopen a command windows,type redis-server
.The service run correctly.But I still did not understand why # Creating Server TCP listening socket *:6379:No such file or directory
came out.
Got the same behavior after restart. Initially thought Redis is not running, but your question made me to dig some more. Apparently, there's Windows service, called "Redis" and it started after computer reboot.
After getting this error,open the cli and press the command 'shutdown' and restart redis server. You are good to go. You will get the logo and everything is as expected.