01Springboot启动时端口被占用

    科技2022-08-15  102


    title: 01Springboot启动时端口被占用 tags: Error abbrlink: 50465 date: 2020-09-28 12:02:42 categories:

    计算机科学JavaSpringBoot框架SpringBoot框架常见错误集合

    项目场景:

    Springboot在启动时出现端口8888被占用

    问题描述:

    Springboot在启动时出现端口被占用

    错误提示: Description: Web server failed to start. Port 8888 was already in use. Action: Identify and stop the process that's listening on port 8888 or configure this application to listen on another port. Disconnected from the target VM, address: '127.0.0.1:54879', transport: 'socket' [ERROR] Command execution failed. Command execution failed.

    原因分析:

    由于之前开启vue项目启动,再启动后端时会报错。

    解决方案:

    netstat -aon|findstr "9000" 查看端口号运行进程 taskkill /pid 进程号 -f`


    Processed: 0.009, SQL: 8