add code for get ip and port