1、查询端口占用情况。 netstat -apn|grep 端口号 例子:例如:netstat -apn|grep 50...