4,156 questions
4,369 answers
5,718 comments
You need to use the port, rpcport and datadir runtime parameters to make sure the two nodes are not clashing with each other. If you look at 'Related questions' on the right you'll see links to lots of examples.