[jboss-as7-dev] Equivalent of -b/--host in AS7

Brian Stansberry brian.stansberry at redhat.com
Thu Mar 24 17:21:54 EDT 2011


Quick double check: are you using standalone.sh or domain.sh?

Your snippet below is from standalone.xml. I just tried standalone.sh 
and all sockets were bound to 127.0.0.1.  But domain.xml has a different 
config; it uses interface "external" which is configured for 
<any-ipv4-address/>.


On 3/24/11 3:59 PM, Scott Stark wrote:
> I'm not seeing the various server ports defined in the
> socket-binding-group use the default-interface value for the interface
> to which they bind. Rather, they are showing up bound to any. How do I
> achieve the equivalent of AS6 --host=aaa.bbb.ccc.ddd to have all server
> listening ports bound to the aaa.bbb.ccc.ddd address?
>
> <interfaces>
> <interface name="default">
> <inet-address value="127.0.0.1"/>
> </interface>
> <interface name="any">
> <any-address/>
> </interface>
> <interface name="complex">
> <any>
> <subnet-match value="192.168.0.0/16"/>
> <public-address/>
> </any>
> <not>
> <site-local-address/>
> </not>
> <up/>
> <multicast/>
> </interface>
> </interfaces>
>
> <socket-binding-group name="standard-sockets" default-interface="default">
> <socket-binding name="jndi" port="1099"/>
> <socket-binding name="jmx-connector-registry" port="1090"/>
> <socket-binding name="jmx-connector-server" port="1091"/>
> <socket-binding name="http" port="8080"/>
> <socket-binding name="https" port="8447"/>
> <socket-binding name="osgi-http" port="8090"/>
> <socket-binding name="remoting" port="4447"/>
> <socket-binding name="txn-recovery-environment" port="4712"/>
> <socket-binding name="txn-status-manager" port="4713"/>
> <socket-binding name="txn-socket-process-id" port="4714"/>
> <socket-binding name="messaging" port="5445" />
> <socket-binding name="messaging-throughput" port="5455"/>
> </socket-binding-group>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat



More information about the jboss-as7-dev mailing list