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.
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
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.