0

我在远程连接的 hp-ux 上解压缩了 Jboss 应用程序服务器 6,并使用 sh run.sh 启动了应用程序服务器,它在启动的构建和 server.log 中都没有错误地启动。

但不幸的是,我无法在浏览器中查看已启动的应用程序服务器:例如

192,168.15.10:8080。

有谁可以帮忙吗?

谢谢先进

4

2 回答 2

0

我假设您正在使用jboss-as-standalone.sh脚本启动 JBossAS。

我最近遇到了同样的问题。JBoss 假设从其他机器访问服务器管理控制台是危险的,所以它的绑定默认设置为 localhost 或 127.0.0.1 at /standalone/configuration/standalone.xml

将 3 个interfaces元素更改为 0.0.0.0 以便它可以监听来自所有接口的请求。

<interfaces>
    <interface name="management">
        <inet-address value="${jboss.bind.address.management:0.0.0.0}"/>
    </interface>
    <interface name="public">
        <inet-address value="${jboss.bind.address:0.0.0.0}"/>
    </interface>
    <interface name="unsecure">
        <inet-address value="${jboss.bind.address.unsecure:0.0.0.0}"/>
    </interface>
</interfaces>

如果您不是在独立模式下运行 JBoss,它应该以相同的方式工作,因此请编辑该/domain/configuration/domain.xml文件。

于 2014-01-23T17:20:32.077 回答
0

默认情况下,Jboss 6 仅将其服务绑定到 127.0.0.1。您需要在启动脚本中添加“-b 0.0.0.0”,例如 run.bat -b 0.0.0.0。

于 2012-05-15T06:20:14.827 回答