【问题标题】:Creating Server TCP listening socket *:6379: bind: Address already in use [duplicate]创建服务器 TCP 侦听套接字 *:6379:绑定:地址已在使用中 [重复]
【发布时间】:2019-02-19 22:20:40
【问题描述】:

当我尝试运行 redis-server 时,它会显示此错误:

# Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
16954:M 15 Sep 14:49:56.350 * Increased maximum number of open files to 10032 (it was originally set to 1024).
16954:M 15 Sep 14:49:56.350 # Creating Server TCP listening socket *:6379: bind: Address already in use

我还尝试通过以下方式显示哪个进程使用此端口:

fuser -k -n tcp 6379

但是这个命令没有返回任何东西。

【问题讨论】:

  • 同样的问题,在我的情况下,我已经运行了我的 redis 服务器,所以我不能运行它两次。要检查它是否已经运行,在我的情况下转到 redis 文件夹 redis-6.2.5/src 然后运行 ​​./redis-cli

标签: ubuntu redis nosql


【解决方案1】:

某些东西绑定了那个端口,尝试另一种方法来找出罪魁祸首:https://www.tecmint.com/find-out-which-process-listening-on-a-particular-port/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-25
    • 1970-01-01
    • 1970-01-01
    • 2018-04-17
    • 2020-07-31
    • 1970-01-01
    相关资源
    最近更新 更多