IDEA启动项目显示端口被占用

1.netstat -ano|findstr 被占用端口号
2.taskkill /t /f /im 被占用端口号对应的TCP号