8080端口被占用怎么解决?

输入   netstat -ano|findstr “8080”    找到占用该端口的进程PID ,本机为 3864
输入 tasklist|findstr 3864   获取占用程序名称,我的电脑为ApplicationWebServer
taskkill /f /t /im ApplicationWebServer.exe  

将NIApplicationWebSerer服务设置为手动或禁用

 

原文地址:https://www.cnblogs.com/coder306/p/13087569.html