win10 端口占用

https://jingyan.baidu.com/article/22fe7cedf2c1c93002617f9c.html

 https://blog.csdn.net/Michelle_Zhong/article/details/122365043?spm=1001.2014.3001.5502

 

netstat -aon|findstr 8080

tasklist|findstr "PID" 

taskkill /f /t /im java.exe(程序)

查可用端口:

netstat -ano |more

0.0.0.0开头的就没有ip访问限制,否则127.0.0.1开头等则说明有ip白名单限制

 

posted @ 2021-09-08 13:21  一只搞java的青鸟  阅读(84)  评论(0编辑  收藏  举报