(1)netstat -lnp|grep 50090 如果提示沒有netstat指令,可需要安裝:yum -y install net-tools Centos7檢視端口占用 (2) lsof -i:50090 參考連結:linux如何檢視端口被哪個程序占用?