This tutorial discusses how to set WildFly bind address using command line arguments and the configuration file. It applies to all WildFly versions and JBoss EAP as well.

Out of the box, WildFly binds at localhost and

wildfly bind address jboss bind address

The simplest way to change the bind the address is passing the -b argument while starting the server like:

$ ./ -c standalone-full.xml -b=

Please note that "-b" is an alias for the property "jboss.bind.address":

$ ./ -Djboss.bind.address=

Also, you can configure it in your standalone XML file, setting it as follows:

<interface name="public">
    <inet-address value="${jboss.bind.address:}"/>

Much the same way, you can change WildFly's management IP Address as follows:

$ -bmanagement=

Please notice that, as you have a non-default bind address, you will need to configure the CLI appropriately when connecting:

$ ./ --connect controller=

Binding WildFly to all available IP Addresses

If you want to bind WildFly to all available IP addresses, then execute:

$ ./ -b=

You can also bind the "management" interface to all available IP addresses as:

$ ./ -bmanagement=

And of course, you can bind both interfaces as:

$ ./ -b= -bmanagement=

Binding WildFly with Docker

If you are running WildFly with Docker, then you can choose the bind address by passing the above properties to the Docker process as follows:

docker run -p 8080:8080 -p 9990:9990 -it jboss/wildfly /opt/jboss/wildfly/bin/ -bmanagement= -b

If you want to read how to configure the Port of WildFly, check this tutorial: Configuring port offset on JBoss AS / WildFly


Related articles available on

JBoss MBeans POJO

JMX MBean services are the core building blocks of the JBoss Appl

How to a dump of JNDI tree with JMX console ?

#2 JBoss Howto. This is the recipe of the day

How to configure JBoss to bind to a different IP ?

If you want to change the jboss.bind.address property use the&nbs

How to shut down JBoss from remote ?

JBoss recipe of the day

How to create multiple instances of an Mbean?

  Supposing you need two instances of an MBean, let's say one fo

JBoss classloader issues

By default JBoss (prior to version 3.2) uses a flat class loading