s7nio / de-th-wildau-im14-project-webapp

TH-Wildau - WIR - IM14 - WebApp - Java EE security project
0 stars 0 forks source link

Wildfly enable IPv6 #26

Open s7nio opened 10 years ago

s7nio commented 10 years ago

JVM arg -Djava.net.preferIPv6Addresses=true

standalone*.xml or domain.xml

    ...
    <interfaces>
        <interface name="management">
            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
            <inet-address value="${jboss.bind.address.management:[::1]}"/>
        </interface>
        <interface name="public">
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
            <inet-address value="${jboss.bind.address:[::1]}"/>
        </interface>
        <interface name="unsecure">
            <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
            <inet-address value="${jboss.bind.address.unsecure:[::1]}"/>
        </interface>
    </interfaces>
    ...

https://docs.jboss.org/author/display/WFLY8/Admin+Guide