This content has been marked as final.
Show 3 replies
-
1. Re: how can run 2 node (default , node1) on different ports (8070,8090)
wdfink Nov 2, 2015 10:27 AM (in response to babakbardia)Really old version
8080 is not the only port which you need to change if you run two servers on the same box.
You should have a look to this Service Binding Manager document which shows how to handle it.
-
2. Re: how can run 2 node (default , node1) on different ports (8070,8090)
babakbardia Nov 2, 2015 11:09 PM (in response to wdfink)thanks but i am so confused can you just tell me which files do i have to edit for use certain port number on each node
-
3. Re: how can run 2 node (default , node1) on different ports (8070,8090)
wdfink Nov 3, 2015 8:54 AM (in response to babakbardia)You can use the template described here ConfigurePorts and activate by the JVM property.
You need to copy this file docs/examples/binding-manager/sample-bindings.xml, see the wiki.
This file use XSLT to change the ports before the server is started.
The wiki describes also how you can change each port by hand (need to change different files), but this is a lot of work and not recommeded as it is error prone.