端口占用问题

Window下:
netstat -ano|findstr 8080(端口号)
taskkill /f /t /im 19644(tcp号)
Linux下:
查看端口:netstat -tln | grep 8083
端口被哪个进程占用:lsof -i :8083
杀掉进程:kill -9 进程id

posted @ 2020-12-10 15:08  obuok  阅读(43)  评论(0)    收藏  举报