Fixed localhost issue with master node.