zoukankan      html  css  js  c++  java
  • 解决启动redis出现的creating server tcp listening socket *:6379: listen: unknown error

    今天运行redis服务端时候出现这个问题:

    复制代码
    D:\php\software\redis>redis-server.exe
    [484] 04 Dec 21:49:00.797 # Warning: no config file specified, using the default
     config. In order to specify a config file use redis-server.exe /path/to/redis.c
    onf
    [484] 04 Dec 21:49:00.837 # Creating Server TCP listening socket *:6379: listen:
     Unknown error
    复制代码

    意思就是读取默认配置失败,请手动指定启动配置文件

    解决方案:

    复制代码
    D:\php\software\redis>redis-server.exe ./redis.windows.conf
                    _._
               _.-``__ ''-._
          _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
      .-`` .-```.  ```\/    _.,_ ''-._
     (    '      ,       .-`  | `,    )     Running in standalone mode
     |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
     |    `-._   `._    /     _.-'    |     PID: 3224
      `-._    `-._  `-./  _.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |           http://redis.io
      `-._    `-._`-.__.-'_.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |
      `-._    `-._`-.__.-'_.-'    _.-'
          `-._    `-.__.-'    _.-'
              `-._        _.-'
                  `-.__.-'
    
    [3224] 04 Dec 21:49:12.586 # Server started, Redis version 3.2.100
    [3224] 04 Dec 21:49:12.587 * DB loaded from disk: 0.001 seconds
    [3224] 04 Dec 21:49:12.590 * The server is now ready to accept connections on po
    rt 6379
    复制代码

    启动成功

    原创文章请随便转载。愿和大家分享,并且一起进步。-- 江 coder
  • 相关阅读:
    STM32Cube Uart_DMA测试工程
    STM32CubeMX安装指南
    基于STM32Cube的ADC模数采样设计
    C++ this指针的用法
    用七段数码管显示26个字母的方案
    FPGA的引脚VCCINT 、VCCIO VCCA
    Keil环境中建立带FreeRTOS的STM32L项目
    STM32L时钟
    Mysql explain
    nginx屏蔽IP
  • 原文地址:https://www.cnblogs.com/roak/p/14306202.html
Copyright © 2011-2022 走看看