Redis:Error starting userland proxy: listen tcp4 0.0.0.0:6379: bind: address already in use
在尝试启动docker中的redis的时候突然报错了
$ sudo docker start redis
Error response from daemon: driver failed programming external connectivity on endpoint redis (89f663b87a43b4cbf45acd826512dea07fd05d257eb1a7b86b1afeb1402bef6e): Error starting userland proxy: listen tcp4 0.0.0.0:6379: bind: address already in use
Error: failed to start containers: redis
查看一下端口占用情况
$ netstat -anp | grep 6379
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1108/redis-server 1
tcp6 0 0 ::1:6379 :::* LISTEN 1108/redis-server 1
发现已经有一个redis-server在运行了(而且是kill不掉的),查了一些博客发现这个是本机的redis在运行
先把本机的redis停掉
$ /etc/init.d/redis-server stop
[ ok ] Stopping redis-server (via systemctl): redis-server.service.
然后就可以继续运行docker中的redis了
$ sudo docker start redis
redis
$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f7cb3be5f598 redis "docker-entrypoint.s…" 5 hours ago Up 4 seconds 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp redis
Redis:Error starting userland proxy: listen tcp4 0.0.0.0:6379: bind: address already in use相关推荐
- Error starting userland proxy: listen tcp4 0.0.0.0:8005: bind: address alrea
Error starting userland proxy: listen tcp4 0.0.0.0:8005: bind: address alrea 上面的错误已经说的很清楚了,我们的proxy代 ...
- docker出现Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use的解决方法
目录 1. 问题所示 2. 分析原理 3. 解决方法 1. 问题所示 出现如下问题 (base) gaokaoli@kkjz-ThinkStation-P330:~$ sudo docker star ...
- 服务器重启后发现docker-compose的nginx重启失败: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: addres
服务器重启后执行docker-compose up -d报错: Starting nginx ... php is up-to-date Starting nginx ... errorERROR: ...
- Error starting userland proxy: listen tcp 0.0.0.0:8080: bind: address already in use.
文章目录 一.现象 二.解决方案 一.现象 [root@localhost app]# docker run -p 8080:8080 -p 9326:9326 --name eblog --link ...
- docker守护式安装tomcat(汤姆猫)报错:Error starting userland proxy: listen tcp 0.0.0.0:8888: bind: address alrea
用docker安装tomcat的时候,运行镜像,安装tomcat容器出现报错 [root@localhost ~]# docker run -it -p 8888:8080 tomcat docker ...
- Error starting userland proxy: listen tcp 0.0.0.0:5601: bind: address already in use
问题出现原因:5601端口被绑定 解决办法:
- SpringBoot运行时提示:Error starting ApplicationContexxt,To display the uto-configration report re-run you
场景 在搭建SpringBoot项目启动后提示: Error starting ApplicationContexxt,To display the uto-configration report r ...
- SpringBoot项目报错解决:“Error starting ApplicationContext. To display the conditions report re-run ...”
SpringBoot项目报错:Error starting ApplicationContext. To display the conditions report re-run your appli ...
- springboot错误:Error starting ApplicationContext. To display the conditions report re-run your applica
springboot错误:Error starting ApplicationContext. To display the conditions report re-run your applica ...
- SpringBoot报错:Error starting ApplicationContext. To display the conditions report re-run your applica
Spring Boot报错:Error starting ApplicationContext. To display the conditions report re-run your applic ...
最新文章
- 为特定用户创建监牢 chroot
- Base64编码问题( Convert.ToBase64String)问题
- You should rebuild using libgmp = 5 to avoid timing attack vulnerability
- html可以导入MySQL吗_将数据从HTML文件(带有嵌入式JavaScript)导入MySQL数据库
- 动态规划:连续子数组的最大和
- 见鬼了,VS2005发布站点不会把Global.asax复上。
- JDBC:java.sql.SQLException: Before start of result set怎么办
- 从源码深处体验Spring核心技术--基于注解的IOC初始化
- python的实例属性和静态属性表_Python:类属性,实例属性,私有属性与静态方法,类方法,实例方法...
- python能做大型游戏吗_python有做大型游戏的潜力吗?
- 医学计算机应用研究的意义,医学图像感兴趣区域的自动提取-计算机应用研究.PDF...
- mysql、sqlserver、oracle各数据类型与java类型对应
- 19.为什么要用异步框架,它解决什么问题?
- 【To Do! 重点 正则表达式】LeetCode 65. Valid Number
- MySql BlackHole存储引擎
- java h5 调用摄像头_基于百度AI使用H5实现调用摄像头进行人脸注册、人脸搜索功能(Java)...
- speex回声消除源码解读
- 腾讯云开发低代码平台初探
- 2018再见,2019你好
- 浅谈大型互联网企业入侵检测及防护策略
热门文章
- IBEACON 解析代码(C语言和LUA语言)
- 做了个网页版的 五笔跟打器: 玫枫跟打器
- 记录一个报错问题 关于调用win32com打开文档
- @PreAuthorize、@Secured、 @RolesAllowed优先级
- 人工智能基础——知识的表示方法,产生式表示法
- 资产证券化为什么需要区块链技术?专访趣链科技揭开“区块链+ABS”迷雾
- html自动获取图片,html img动态读取图片
- java guardedby_java 多线程并发设计模式之三:Guarded suspension 模式
- 学习计算机基本知识,怎样按序学习计算机基本知识
- 怎么下载jQuery文件