Fix port numbers on the nodes