use random port by default, add public ip and node info to tracker, remove unused socket