When DevOps engineers need to deploy web applications on WildFly 18 run command to binding on all interfaces that is the following command:
standalone.bat -b 0.0.0.0
The equivalent command line argument to binding WildFly 18 on all interfaces is described in the following section how to configure it.
Navigate to the following path and go to standalone.xml file:
C:\Servers\wildfly-18.0.0.Final\standalone\configuration\standalone.xml
In the end of the XML file, you can find the following code snippet:
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
</interfaces>
Find and replace the public interface with IP address 127.0.0.1 with the following code snippet:
<interface name="public">
<any-address/>
</interface>
Make sure to save the changes and restart WildFly 18 server!
Top comments (0)