program to get the ip address