Binding WildFly To IP-Address

To bind WildFly to a particular address, launch it with the -b flag: ${WILDFLY_HOME}/bin/standalone.sh -b=0.0.0.0 (see e.g. Docklands Wildfly image).

Alternatively you can also change the defaults in the standalone-full.xml from 127.0.0.1 to 0.0.0.0 (0.0.0.0 means: all interfaces, what is useful for development):


<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>    
See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


NEW MUC Airport Workshop: Migrating Java Client (Swing / Java FX) to Web Standards

Airport MUC workshops: Web (SPA, PWAs, Offline, Desktop, Mobile) Applications Essentials and Effective Web Applications. No migrations. #usetheplatform

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
Online Workshops
...the last 150 posts
...the last 10 comments
License