首先使用命令查看当前所有的进程,并找出对应的端口号“ 命令:ps -aux | grep A 查找进程所占用的端口号: 命令:netstat -apn | grep A 查看某个端口对应的进程: 命令:lsof -i:端口号