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

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

    D:phpsoftware
    edis>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:phpsoftware
    edis>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

    启动成功

  • 相关阅读:
    js == 和 === 判断原理
    react 渲染原理
    常见的HTTP状态码
    类数组和数组的区别是什么?
    如何判断一个变量是不是数组?
    typeof 是否正确判断类型? instanceof呢? instanceof 的实现原理是什么?
    前端 js data数组转tree数据结构
    Echarts 基础学习
    Vue CLI 4.0 项目搭建
    Echarts Demo
  • 原文地址:https://www.cnblogs.com/jiangxiaobo/p/11985901.html
Copyright © 2011-2022 走看看