【问题标题】:JBoss AS 7.1 not accepting remote connectionsJBoss AS 7.1 不接受远程连接
【发布时间】:2013-11-13 03:32:45
【问题描述】:

我已经这样做了:JBoss AS 7 not accepting remote connections

但是还是不行?

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

<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
    <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
    <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
    <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
    <socket-binding name="ajp" port="8009"/>
    <socket-binding name="http" interface="public" port="8080"/>
    <socket-binding name="https" port="8443"/>
    <socket-binding name="osgi-http" interface="management" port="8090"/>
    <socket-binding name="remoting" port="4447"/>
    <socket-binding name="txn-recovery-environment" port="4712"/>
    <socket-binding name="txn-status-manager" port="4713"/>
    <outbound-socket-binding name="mail-smtp">
        <remote-destination host="localhost" port="25"/>
    </outbound-socket-binding>
</socket-binding-group>

【问题讨论】:

  • 还有什么问题?启动时有错误吗?
  • 我也有同样的问题。没有错误,并且仅针对 localhost 使用此配置。可以通过以下两种方式访问​​管理控制台:localhost 和 192.168.x.x

标签: java deployment jboss jboss7.x


【解决方案1】:

尝试更改接口以指向系统的主机名。并尝试通过您的主机名或 IP 访问它。

<interfaces>
  <interface name="management">  
    <!-- bind to the hostname -->  
     <inet-address value="your-hostname"/>
  </interface>
  <interface name="public">
    <!-- bind to the hostname -->
     <inet-address value="your-hostname"/>
  </interface>  
</interfaces>  

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-04-25
    • 1970-01-01
    • 1970-01-01
    • 2013-07-13
    • 2016-11-28
    • 2012-10-06
    • 2017-10-17
    • 1970-01-01
    相关资源
    最近更新 更多