David Harris wrote:
However, I want other apps to run on 8080.
You can run any number of web applications on that port. Each one will have a separate web context. So localhost:8080/appOne and localhost:8080/appTwo, for example. If you want your application to be accessible at root context i.e. at http://localhost:8080/ then follow this thread https://community.jboss.org/message/761029#761029
Thanks, Jaikiran, I think I said it wrong. If I want to run another application server on 8080, like Tomcat, can I change the AS7 port? I know I can change the Tomcat port, just wondering if I can do the same with AS7
If you look to the <socket-binding-group> element in the configuration (standalone or domain) you see all the different ports and you are able to change it here.
In domain mode you need to check that you use the correct binding for the different servers.
Changing the http port number from 8080 to 8082 in <socket-binding-group> should work.
You did a reboot afterwards? What's in server.log about "http listener" and "listening on"?
Another solution: use property "-Djboss.socket.binding.port-offset=x" to change all ports from their default to default+x.
E.g. -Djboss.socket.binding.port-offset=100 to change 8080 to 8180.