无法在 Windows 上使用 Redis 绑定 TCP 侦听器 *:6379 [英] Can't bind TCP listener *:6379 using Redis on Windows

查看:57
本文介绍了无法在 Windows 上使用 Redis 绑定 TCP 侦听器 *:6379的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 上使用 Redis 2.8,它是从 github 发行版下载的.解压后,我在 redis.windows.conf 文件中设置了 maxheap.运行 redis-server redis.windows.conf 后,我得到 # Creating Server TCP listener socket *:6379:No such file or directory,但是 redis 没有正确运行.我不知道为什么.

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-server redis.windows.conf I get # Creating Server TCP listening socket *:6379:No such file or directory, but redis is not running correctly. I don't know why.

推荐答案

现在服务正常.我在同一个窗口中运行redis-cli.exe,它连接正确.然后我输入了shutdown,服务结束.重新打开一个命令窗口,输入redis-server.服务运行正常.但我还是不明白为什么#Creating Server TCP listener socket *:6379:No such文件或目录出来了.

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.

这篇关于无法在 Windows 上使用 Redis 绑定 TCP 侦听器 *:6379的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆