socket closed怎么解決? 進(jìn)入DOS 1、netstat -ano 找到被占用的端口 PID; 2、tasklist(通過PID定位)找到占用端口的進(jìn)程; 3、任務(wù)管理器 終止進(jìn)程.