8080端口被占用或其他端口被占用,Address already in use:bind 的windows解决方法!

写的好好的代码突然发现...端口被占用了..

windows系统把占用的进程cut了就好(不看任务管理器了)

1.查找某端口被占用情况

   netstat -aon | findstr "7000"

2. 根据pid查询当前pid的详细情况

    tasklist | findstr "30944"

扫描二维码关注公众号,回复: 3006401 查看本文章

3.杀掉该进程(成功杀掉的进程是没有提示的)

   tskill 30944

可以了,在跑一下就好

猜你喜欢

转载自blog.csdn.net/umbrellasoft/article/details/81535805