java jvm bind解决,如何解决“java.net.BindException:已使用的地址:JVM_Bind”错误?...

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 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值