how to check which process occupied the port
1. netstat -Aan|grep 找到该端口连接对应的PCB/ADDR和连接的协议类型。注:PCB ----Protocol Control Block2. 如果是tcp连接,则rmsock tcpcb如果是udp连接,则rmsock inpcb下面我们以telnet服务所使用的23号端口为例,说明该方法:#netstat -Aan|grep 23f10
转载
2014-11-13 11:45:50 ·
632 阅读 ·
0 评论