我已在 JEE Eclipse 上安装了 JBoss Application 7.1。由于一些问题,我在JBoss的standalone.xml中将端口号从8080更改为8085。
当我在 Eclipse 中启动 JBoss 服务器时,出现以下错误。
19:36:39,377 ERROR [org.jboss.remoting.remote.connection] (Remoting "minint-97d33fp:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
19:36:39,388 ERROR [org.jboss.remoting.remote.connection] (Remoting "minint-97d33fp:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
最佳答案
如果手动更改端口号,则需要更改许多地方。为了简化这个过程,Jboss 添加了偏移功能。只需设置一个偏移值,所有相关端口都会相应更新。
所以宁愿尝试这种方法。在独立 xml 中,更新行:
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
使用您的偏移值将更新为:
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:5}">
希望有帮助。 (不要忘记首先纠正您的第一个更改)
关于java - JBoss AS 7.1 JBREM000200 : Remote connection failed: java. io.IOException:已建立的连接被主机中的软件中止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38558423/