How to change the default HTTP port in JBoss 4.2.2.
We have configured a new server instance with ports-01 as defined in the sample-bindings.xml. Now we need to change the default http port of ports-01.
My question is where do we need to make the change, is it in sample-bindings.xml or in jboss.web.deployer/server.xml (connector port).
I tried making the change in both the above ways, it worked fine.. but i need to know which is the correct way of doing that.
Please let me know which is the correct way of doing.
If you are using the binding service (sample-bindings.xml), then change only that. The port settings in server.xml are ignored.