已经在使用的地址:JVM_Bind java [英] Address already in use: JVM_Bind java

查看:394
本文介绍了已经在使用的地址:JVM_Bind java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我重新启动应用程序时,有时会在
上构建Java
Struts
Mysql和Jboss 4.05版本
我收到错误地址已在使用中:JVM_Bind

Some times whenever I restart the application, which is built on Java Struts Mysql and Jboss 4.05 Version I get the error as Address already in use: JVM_Bind

只有修复我知道重新启动机器并再试一次,它才能正常工作。
Else有时我会做Ctrl-Alt-Del并停止与Java相关的所有过程,有时这也有效。

Only fix that i know is to restart the machine and try again, it will work. Else Some times I do Ctrl-Alt-Del and Stop all the process related to Java, some times this also works.

但究竟是什么原因我们如何防止这个问题?

But what is the exact reason and how can we prevent this problem ?

推荐答案


地址已在使用中:JVM_Bind

Address already in use: JVM_Bind

表示某些其他应用程序已在侦听当前应用程序尝试绑定的端口。

means that some other application is already listening on the port your current application is trying to bind.

您需要做的是,更改当前应用程序的端口或更好;找出已经运行的应用程序并将其删除。

what you need to do is, either change the port for your current application or better; just find out the already running application and kill it.

在Linux上你可以通过使用找到应用程序pid,

on Linux you can find the application pid by using,

netstat -tulpn

这篇关于已经在使用的地址:JVM_Bind java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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