Update java.net.InetAddress for localhost