码迷,mamicode.com
首页 > Web开发 > 详细

Web server failed to start. Port 8080 was already in use.

时间:2019-11-11 14:16:38      阅读:483      评论:0      收藏:0      [点我收藏+]

标签:被占用   exe   list   thread   read   prope   lis   bsp   source   

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that‘s listening on port 8080 or configure this application to listen on another port.

2019-11-11 11:25:41.924  INFO 137056 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService ‘applicationTaskExecutor‘

 

端口号已经被占用

在resource文件夹下new File - application.properties

server.port=${port:8888}

在这个文件里,除了port的值是任意的,其他的都是固定的写法.

 

Web server failed to start. Port 8080 was already in use.

标签:被占用   exe   list   thread   read   prope   lis   bsp   source   

原文地址:https://www.cnblogs.com/yuan1225/p/11834530.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!