Server wildfly

1

Wildfly standalone

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

    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
        <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:9993}"/>
        <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
        <socket-binding name="http" port="${jboss.http.port:8100}"/>
        <socket-binding name="https" port="${jboss.https.port:8443}"/>
        <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>

Access only localhost. I can not access it in another location. Need to setup something else?

The 8100 and 9990 port is released on the windows server 2008 firewall.

    
asked by anonymous 24.04.2018 / 20:52

1 answer

2

Generally you need to tweak wildfly.conf and edit the JBOSS_OPTS environment variable so that it "listens" for other interfaces; so that it responds in all is something like this:

JBOSS_OPTS="-b 0.0.0.0 -bmanagement=0.0.0.0"

These parameters are used when the server is started.

    
24.04.2018 / 21:19