I was facing the same problem, I just change the jboss7.1 port from 8080 to 9090. and it worked perfectly for me.
To change the jboss7.1 port go to jboss-as-7.1.0.Final\standalone\configuration
open standalone.xml
look for the line <socket-binding name="http" port="8080"/>
change 8080
to 9090
. save the file and
Restart the server. it should work