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.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Comments:

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