Sending ip address to server