(解决端口报错的常见的两种情况)Spring Boot 报错:Web server failed to start. Port 80 was already in use.

提示:Spring Boot 报错:Web server failed to start. Port 80 was already in use.

文章目录

  • 一、报错信息:Web server failed to start. Port 8080 was already in use.
  • (解决端口报错的常见的两种情况)Spring Boot 报错:Web server failed to start. Port 80 was already in use._第1张图片
  • 报错原因:端口被占用
  • 二、解决方法:
  •    关闭端口进程
  •     1.以管理员的身份运行cmd命令窗口来查看端口占用情况(输入要查询的端口号):
  • netstat -ano | findstr 端口号
     
    • 2.关闭该进程:
    • 通过该命令可以关闭
      taskkill -PID 进程号 -F
  •  3.如果入下图,则成功:

 4.如果是该图,则需要进行第二种操作:

(解决端口报错的常见的两种情况)Spring Boot 报错:Web server failed to start. Port 80 was already in use._第2张图片

跳转该连接去学习:https://blog.csdn.net/weixin_34130269/article/details/85959419?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-85959419-blog-120405236.pc_relevant_aa_2&spm=1001.2101.3001.4242.1&utm_relevant_index=3icon-default.png?t=M666https://blog.csdn.net/weixin_34130269/article/details/85959419?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-85959419-blog-120405236.pc_relevant_aa_2&spm=1001.2101.3001.4242.1&utm_relevant_index=3

 有用的话帮忙点个赞,有问题可以私信咨询

 

你可能感兴趣的:(python,pandas,数据分析,java,mybatis)