springboot项目启动时提示Address already in use: bind
2017-08-17 10:44
435 查看
PS:web项目在启动的时候,一般会报Address already in use: bind,常规的处理思路为:删除任务管理器中的javaw.exe进程即可;当删除仍然解决不了时,一般处理思路如下,以windows系统为例。
1.查看当前端口被哪个进程占用了(进入到CMD中)
netstat -ano|findstr "8990"
输出结果为:
TCP 127.0.0.1:8990 0.0.0.0:0 LISTENING 2700
我们发现8990端口被2700进程占用了
2.基于进程号找进程名称
tasklist|findstr "2700"
输出结果为:
kxescore.exe 2700 Services 0 29,284 K
我们发现kxescore.exe进程在任务管理器中显示为金山毒霸的进程,如下图
3.解决办法
很明显,金山毒霸的进程占用了8990端口,至于是否是随机绑定了8990端口,有待按照上方法分析。
卸载金山毒霸后,重启项目,一切回归ok
备注:转载请注明原文链接!
1.查看当前端口被哪个进程占用了(进入到CMD中)
netstat -ano|findstr "8990"
输出结果为:
TCP 127.0.0.1:8990 0.0.0.0:0 LISTENING 2700
我们发现8990端口被2700进程占用了
2.基于进程号找进程名称
tasklist|findstr "2700"
输出结果为:
kxescore.exe 2700 Services 0 29,284 K
我们发现kxescore.exe进程在任务管理器中显示为金山毒霸的进程,如下图
3.解决办法
很明显,金山毒霸的进程占用了8990端口,至于是否是随机绑定了8990端口,有待按照上方法分析。
卸载金山毒霸后,重启项目,一切回归ok
备注:转载请注明原文链接!
相关文章推荐
- IDEA中SpringBoot项目启动遇到端口被占用(Address already in use: bind)
- SpringBoot项目调试时出现java.net.BindException: Address already in use: bind
- SpringBoot第二次启动不成功,报错: java.net.BindException: Address already in use: bind
- 启动springboot时,控制台报错java.net.BindException: Address already in use: bind,但仍然能显示想要的结果
- springBoot启动报错:Address already in use: bind
- myeclipse 启动服务时 提示“Address already in use:JVM_Bind:8080”
- [spring boot][异常处理] java.net.BindException: Address already in use: bind
- 启动maven项目时Address already in use: JVM_Bind<null>:8080错误的解决办法
- 在MyEclipse 中部署项目启动Tomcat 出现 Address already in use: JVM_Bind 异常
- 项目启动失败,报错:java.net.BindException:Address already in use : JVM_Bind <null>:8081
- tomcat启动了两次项目, Address already in use: JVM_Bind
- Linux 下安装 Apache 后启动提示 (98)Address already in use: make_sock: could not bind to address [::]:80
- Maven项目在Maven启动的时候出现:Address already in use: JVM_Bind<null>:8080
- 启动项目时,报错;Address already in use: JVM_Bind<null>:8080
- 启动TomCat 出现java.net.BindException:Address already in use:JVM_Bind
- Tomcate 启动异常,java.net.BindException: Address already in use: JVM_Bind:80的解决办法
- tomcat启动时错误java.net.BindException: Address already in use: JVM_Bind:80
- Myeclipse启动Tomcat服务器Address already in use: JVM_Bind
- MyEclipse启动Address already in use: JVM_Bind<null>:8080(tomcat端口号)
- tomcat启动报错:java.net.BindException: Address already in use: JVM_Bind<null>:8080