启动vulhub spring时报错Bind for 0.0.0.0:8080 failed: port is already allocated

Creating network "cve-2018-1273_default" with the default driver
Creating cve-2018-1273_spring_1 ...
Creating cve-2018-1273_spring_1 ... errorERROR: for cve-2018-1273_spring_1  Cannot start service spring: driver failed programming external connectivity on endpoint cve-2018-1273_spring_1 (9a7589651ff5e00026b3419c243c000b052c49a4367e0b8d2d12aa0bb0c86300): Bind for 0.0.0.0:8080 failed: port is already allocatedERROR: for spring  Cannot start service spring: driver failed programming external connectivity on endpoint cve-2018-1273_spring_1 (9a7589651ff5e00026b3419c243c000b052c49a4367e0b8d2d12aa0bb0c86300): Bind for 0.0.0.0:8080 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.

可是发现删掉端口为8080进程也不管用

netstat -nltp 8081  # 网络端口
lsof -i:8081  # 文件端口(进程端口)

看下docker是否映射了:
看到ports列有条信息:

8080/tcp, 0.0.0.0:8081->8081/tcp

停止该容器,问题解决。

docker kill ba23d47962f1

Bind for 0.0.0.0:8080 failed: port is already allocated错误相关推荐

  1. 【问题】2.Bind for 0.0.0.0:8887 failed: port is already allocated错误

     解决: 看下docker是否映射了: 看到ports列有条信息: docker ps 停止该容器,问题解决. docker stop ***** 删除容器 docker rm -rf ***** 重 ...

  2. Bind for 0.0.0.0:80 failed: port is already allocated.解决方案

    Bind for 0.0.0.0:80 failed: port is already allocated.解决方案 参考文章: (1)Bind for 0.0.0.0:80 failed: port ...

  3. window中关于端口被占用的解决443 failed: port is already allocat

    背景 当前遇到的问题 Error starting userland proxy: Bind for 0.0.0.0:443 failed: port is already allocated 解决 ...

  4. 成功解决OpenCV Error: Assertion failed (ssize.width 0 ssize.height 0) in cv::resize, file C:\proj

    成功解决OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize ...

  5. Elasticsearch 7.2.0 搜索时报 all shards failed 错误

    问题描述: 通过ElasticSearch搜索时,当搜索的内容过长(大概25个汉字以上)时,会莫名其妙的报错,Elasticsearch exception [type=search_phase_ex ...

  6. 解决电脑开机-EFI PXE 0 for IPv4(XX-XX-XX-XX-XX-XX) boot failed.问题

    联想拯救者R7000-解决电脑开机问题 1.出现如下问题(EFI PXE 0 for IPv4(XX-XX-XX-XX-XX-XX) boot failed.) 2.进入如下页面(开机是一直按着F2) ...

  7. cv2.error: OpenCV(4.1.0)error: (-215:Assertion failed) !ssize.empty() in function ‘resize‘——记录解决方法

    cv2.error: OpenCV(4.1.0)error: (-215:Assertion failed) !ssize.empty() in function 'resize'--记录解决方法 方 ...

  8. Check failed: 0 == bottom[0]-count() % explicit_count (0 vs. 76) bottom count (160600) must be divi

    问题:Check failed: 0 == bottom[0]->count() % explicit_count (0 vs. 76) bottom count (160600) must b ...

  9. Centos7使用scala从外部MySQL数据库加载数据集出现ERROR TaskSetManager: Task 0 in stage 0.0 failed 4 times; aborting..

    环境配置:使用的是Centos7.4版本的虚拟机,然后hive配置的是远程模式(master节点当作客户端,slave节点当作hive端),slave2节点安装的是MySQL数据库:spark版本为1 ...

最新文章

  1. 《转载》POI导出excel日期格式
  2. 数据挖掘150道笔试题
  3. Angular(build打包)报错:supplied parameters do not match any signature of call target
  4. 走近分形与混沌(part9)--感性让人自然,理性让人智慧,理性和感性结合才能产生完美
  5. 后台运行python程序 遇到缓冲区问题
  6. 【转】WCF、WebAPI、WCFREST、WebService之间的区别
  7. SpringAop与AspectJ的联系与区别____比较分析 Spring AOP 和 AspectJ 之间的差别
  8. 空间异常即刻诊断,华为云数据管理服务DAS又出新招~
  9. 学习老男孩linux全程班决心书
  10. 浅谈Delphi过程与函数03 - 零基础入门学习Delphi22
  11. 【数学题】Multicolored Markers【codeforces-Round #506-div3-F】
  12. opencv连接大华摄像头
  13. 手把手教你搞懂麦克风的技术指标
  14. Unbuntu的安装
  15. 自信转运--《奇迹男孩》
  16. 『Kubernetes』Linux安装K8S集群过程笔记
  17. 09组-选题与需求分析报告
  18. 笔记本电脑显示以太网未连接_如何向笔记本电脑添加以太网连接
  19. dubbo问题:forbid consumer报错
  20. Redis string和hash数据类型

热门文章

  1. SpringCloud项目打包Docker镜像并发布到Harbor仓库
  2. numpy库中三角函数与math库中三角函数的区别
  3. PC/SC简介以及相关开发
  4. itext文本域自动换行_Java导出Pdf格式表单
  5. 华为认证 HCIE-Datacom知识点汇总
  6. 分类 手写体数字识别
  7. Java——继承(一)
  8. ros下用kinectv2运行orbslam2
  9. apiDay09整理笔记(笔记优化)
  10. CSS实现侧边展开导航栏