anchor.diff:  
   ### Deploy Application Using Management API
   
  -A standalone WildFly process, process can be configured to listen for remote management requests using its `native management interface'. The CLI tool that comes with the application server uses this interface, and user can develop custom clients that use it as well. In order to use this, WildFly management interface listen IP needs to be changed from 127.0.0.1 to 0.0.0.0 which basically means, that it is not only listening on the localhost but also on all publicly assigned IP addresses.
  +A standalone WildFly process, process can be configured to listen for remote management requests using its `native management interface'. The CLI tool that comes with the application server uses this interface, and user can develop custom clients that use it as well. By default, WildFly management interface listens on 127.0.0.1. When running inside a Docker container, the network interface should be bound to all publicly assigned addresses. This can be easily changed by biding to 0.0.0.0 instead of 127.0.0.1.
   
   . Start another WildFly instance again:
   +
  
positive.code: 
  ### Deploy Application Using Web Console
  
  WildFly comes with a web-based administration console. It also relies on the same management APIs that are used by JBoss Developer Tools and the CLI. It does provide a nice web-based way to administrate your instance and if you've already exposed the container ports, you can simply access it at http://dockerhost:9990 in your web browser.
  
  .WildFly Web Console
  image::../images/console1.png[]
  
  Username and password credentials are shown in <<WildFly_Administration_Credentials>>. 
  
  NOTE: You may like to stop and remove the Docker container running WildFly. This can be done as `docker ps -a | grep wildfly | awk '{print $1}' | xargs docker rm -f`. Start a new container as `docker run -p 8080:8080 -p 9990:9990 -d arungupta/wildfly-management`.
  
  Now navigate through the console and execute the following steps to deploy the application:
  
  . Go to the `Deployments' tab.
  +
  .Deployments tab in WildFly Web Console
  image::../images/wildfly9-deployments-tab.png[]
  
negative.code: ifdef::public[docker run -d --name wildfly -p 8080:8080 -p 9990:9990 arungupta/wildfly-management]
  ----
  +
  In addition to application port 8080, the administration port 9990 is exposed as well. The WildFly image that is used has tweaked the start script such that the management interface is bound to 0.0.0.0.
  +
  . Create a new server adapter in JBoss Developer Studio and name it `WildFly 9.0.0-Management'. Specify the host name as `dockerhost'.
  +
  