1. lsof -i :8080 2. netstat -anp tcp | grep 8080 3. nc -w 10 -n -z 127.0.0.1 8070-8090 转载于:https://www.cnblogs.com/hangj/p/6229057.html