Enable or restrict remote access (JBoss/WildFly)

If the administration console needs to be accessed from a remote machine, this requires a specific configuration. You can also restrict access to the application server to specific IPs and subnet masks.

Related parameters in the ImageMaster configuration file (configureAppServer.config):

  • bindAddress=

  • subnetMask=

In a productive environment it is recommended restricting access to known IPs only, which can be done according to [WildFly Interfaces].

Access can also be fine-tuned via custom CLI scripts. See some examples below.

Example – bind management interface to all network interfaces

/interface=management:undefine-attribute(name=inet-address)

/interface=management:write-attribute(name=any-address, value=true)

Example – bind application interface to all network interfaces

/interface=public:undefine-attribute(name=inet-address)
/interface=public:write-attribute(name=any-address, value=true)