#查找端口8080是否被占用 >netstat -ano | findstr "8080" TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 19860 #查看占用端口的程序 >tasklist | findstr "19860" tomcat7.exe 19860 Services 0 117,012 K
#查找端口8080是否被占用 >netstat -ano | findstr "8080" TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 19860 #查看占用端口的程序 >tasklist | findstr "19860" tomcat7.exe 19860 Services 0 117,012 K
转载于:https://www.cnblogs.com/hbibighead/p/10026649.html