Can't bind TCP listener *:6379 using Redis on Windows

前端 未结 9 1233
悲&欢浪女
悲&欢浪女 2021-01-30 16:25

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

9条回答
  •  轮回少年
    2021-01-30 17:00

    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 address
    • protected-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.

提交回复
热议问题