Added print statement for the ip.