解决Windows端口占用

The Tomcat connector configured to listen on port 80 failed to start

原因:端口被占用

  • cmd

    netstat -ano
    

  • 找到对应的端口 对应的程序

    tasklist | findstr "15308"
    

  • 杀死占用的程序

    taskkill /f /t /im java.exe
    
原文地址:https://www.cnblogs.com/langkyeSir/p/13868190.html