How can i run wildfly 8.2.1 in port 80? I can run wildfly in different ports by changing the offset as below.
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:100}">
But unable to run in port 80.
Offset adds that value to all ports. So if you had http set to the default port 8080, an offset of 100 would set it to 8180.
You want to set the socket for http.
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
<socket-binding name="http" port="${jboss.http.port:80}"/>
</socket-binding-group>
Alternatively, all of these values can be passed in via command line. so you can run: standalone.sh -Djboss.http.port=80
Note: on some operating systems: OSX and variants of Linux you must be superuser to bind things to port 80.