2013-06-05 69 views

回答

1

在特定JBoss 7.x實例上運行的應用程序服務的端點綁定到您的standalone.xmldomain.xml配置文件中此實例中定義的端口socket-binding-group

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

這些插座被命名接口上相應地定義(通常public應用服務),即可以以各種方式進行配置。一個interface配置可能包括NIC的名稱,這是你要求什麼IP地址:

<interfaces> 
    ... other definitions 

    <interface name="public"> 
     <inet-address value="10.11.12.13"/> 
     <nic name="eth0" /> 
    </interface>  
</interfaces> 

看一看在JBoss 7 configuration documentation(部分接口)查看更多選項。

祝你好運!

相關問題