sudo lsof -i :80 sudo netstat -lnp | grep :80 你看到结果 [quote]tcp6 0 0 :::80 :::* LISTEN 6782/java[/quote] 然后kill掉6782