reads ip address