JBoss AS 7.1不接受远程连接

时间:2013-11-13 03:32:45

标签: java deployment jboss jboss7.x

我这样做了: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>

1 个答案:

答案 0 :(得分:3)

尝试将接口更改为指向系统的主机名。并尝试通过您的主机名或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>