Windows下:
查看端口占用
netstat -ano | findstr "端口号"
获取到pid
查看PID对应的进程
tasklist | findstr "进程ID"
获取到进程名称
这个人很懒,什么都没留下。