我如何解决“java.net.BindException: Address already in use: JVM_Bind"?错误? [英] How do I resolve the "java.net.BindException: Address already in use: JVM_Bind" error?

查看:27
本文介绍了我如何解决“java.net.BindException: Address already in use: JVM_Bind"?错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Eclipse 中,我收到此错误:

In Eclipse, I got this error:

run:
     [java] Error creating the server socket.
     [java] Oct 04, 2012 5:31:38 PM cascadas.ace.AceFactory bootstrap
     [java] SEVERE: Failed to create world : java.net.BindException: Address already in use: JVM_Bind
     [java] Java Result: -1
BUILD SUCCESSFUL
Total time: 10 seconds

我不知道为什么它现在出现了,但就在几个小时前它运行良好.我需要重新启动我的机器吗?我如何深入了解它?感谢您提供任何提示或建议.

I'm not sure why it came up now, but it ran fine just a few hours ago. Do I need to restart my machine? How do i get to the bottom of it? I appreciate any tips or advice.

推荐答案

是的,您有另一个进程绑定到同一端口.

Yes you have another process bound to the same port.

TCPView(仅限 Windows)来自 Windows Sysinternals 是我在遇到 JVM_BIND 错误时最喜欢的应用程序.它显示哪些进程正在侦听哪个端口.它还提供了一个方便的上下文菜单来终止进程或关闭阻碍的连接.

TCPView (Windows only) from Windows Sysinternals is my favorite app whenever I have a JVM_BIND error. It shows which processes are listening on which port. It also provides a convenient context menu to either kill the process or close the connection that is getting in the way.

这篇关于我如何解决“java.net.BindException: Address already in use: JVM_Bind"?错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆