运行Java项目时,遇到了这个报错

java.net.BindException Address already in use bind 错误

该错误是端口号被占用,查看你项目的端口号 application.properties —> server.port=8088

然后控制栏输入 netstat -ano

java.net.BindException Address already in use bind 错误

然后去任务管理器处,找到 pid=3216 的进程,kill它。

java.net.BindException Address already in use bind 错误
重新运行你的项目,完成。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案