Automatically get ip and port, and comment the things to be implemented.