Changed datatype of ip address to InetAddress