Fixed the hard-coded ip in send_xml