参考:socket.error: [Errno 10048]及查看pid进程号和端口号_wf592523813的博客-CSDN博客
在CMD窗口中输入netstat -aon|findstr , 表示要查看的端口号。 如:
netstat -aon|findstr 80
tasklist|findstr “2996”
,2996就是之前的进程ID
关闭对应的进程
taskkill /F /IM httpd.exe
验证-查看端口状态
netstat -aon
参考:socket.error: [Errno 10048]及查看pid进程号和端口号_wf592523813的博客-CSDN博客
在CMD窗口中输入netstat -aon|findstr , 表示要查看的端口号。 如:
netstat -aon|findstr 80
tasklist|findstr “2996”
,2996就是之前的进程ID
关闭对应的进程
taskkill /F /IM httpd.exe
验证-查看端口状态
netstat -aon