Socket Binding in standalone.xml
Socket Binding and Avoiding Port Conflicts In standalone.xml, only a single element is allowed. In standalone.xml, the element can also include a port-offset attribute. The value of this attribute will be added to the port attribute value for any binding to derive the actual port to use for the socket. Setting the port-offset to a value other than zero allows multiple AS instances with the same socket binding and interface configurations to run on the same machine without having port conflicts. In domain.xml the element does not include a port-offset attribute; see "Domain Mode Configuration Concepts" below for more on how an equivalent configuration is done.