linux:
lsof -i
lsof -i:8080
netstat -tunlp
netstat -tunlp|grep 8080
kill -9 无条件杀死进程
kill -9 pid
原文:https://jingyan.baidu.com/article/546ae1853947b71149f28cb7.html
http://blog.csdn.net/wjcquking/article/details/45293167
http://blog.csdn.net/andy572633/article/details/7211546
windows:
netstat -ano
kill pid
原文:https://jingyan.baidu.com/article/215817f784c2d61eda1423c4.html