Change the default setting of server IP and port to the new one.