在机器上运行 netstat -tpna | grep :port 得到指定tcp端口有哪些进程 在server端执行能够查看有哪些进程运行在该端口,也就是找到客户端。
在client端运行netstat找到是哪个进程发起的连接。