Edit C:\dspace\webapps\rest\WEB-INF\lib\org\elasticsearch\common\network\NetworkUtils.class
???? 3< -org/elasticsearch/common/network/NetworkUtils java/lang/Object NetworkUtils.java 7org/elasticsearch/common/network/NetworkUtils$StackType StackType /org/elasticsearch/common/network/NetworkUtils$2 /org/elasticsearch/common/network/NetworkUtils$1 logger +Lorg/elasticsearch/common/logging/ESLogger; IPv4_SETTING Ljava/lang/String; java.net.preferIPv4Stack IPv6_SETTING java.net.preferIPv6Addresses NON_LOOPBACK_ADDRESS non_loopback_address localAddress Ljava/net/InetAddress; defaultReuseAddress ()Ljava/lang/Boolean; #org/elasticsearch/common/os/OsUtils WINDOWS Z ! java/lang/Boolean # valueOf (Z)Ljava/lang/Boolean; % & $ ' isIPv4 ()Z java/lang/System + getProperty &(Ljava/lang/String;)Ljava/lang/String; - . , / true 1 java/lang/String 3 equals (Ljava/lang/Object;)Z 5 6 4 7 getIPv4Localhost ()Ljava/net/InetAddress; java/net/UnknownHostException ; IPv4 9Lorg/elasticsearch/common/network/NetworkUtils$StackType; = > ? getLocalhost Q(Lorg/elasticsearch/common/network/NetworkUtils$StackType;)Ljava/net/InetAddress; A B C getIPv6Localhost IPv6 F > G getLocalAddress J getLocalHostName java/net/InetAddress M getHostName ()Ljava/lang/String; O P N Q defaultHostName hostName getLocalHostAddress getHostAddress V P N W defaultHostAddress hostAddress 127.0.0.1 [ getByName *(Ljava/lang/String;)Ljava/net/InetAddress; ] ^ N _ ::1 a ip_version canBindToMcastAddress LINUX e f SOLARIS h i HP k l getFirstNonLoopbackAddress java/net/SocketException o java/lang/Exception q getInterfaces ()Ljava/util/List; s t u java/util/List w iterator ()Ljava/util/Iterator; y z x { java/util/Iterator } hasNext * ~ ? next ()Ljava/lang/Object; ? ? ~ ? java/net/NetworkInterface ? isUp ? * ? ? isLoopback ? * ? ? l(Ljava/net/NetworkInterface;Lorg/elasticsearch/common/network/NetworkUtils$StackType;)Ljava/net/InetAddress; n ? ? e Ljava/lang/Exception; intf Ljava/net/NetworkInterface; address i$ Ljava/util/Iterator; getNetworkInterfaces ()Ljava/util/Enumeration; ? ? ? ? &org/elasticsearch/common/collect/Lists ? newArrayList ()Ljava/util/ArrayList; ? ? ? ? java/util/Enumeration ? hasMoreElements ? * ? ? nextElement ? ? ? ? add ? 6 x ? sortInterfaces (Ljava/util/List;)V ? ? ? intfs Ljava/util/Enumeration; intfsList -Ljava/util/List<Ljava/net/NetworkInterface;>; Ljava/util/List; <init> ()V ? ? ? %org/apache/lucene/util/CollectionUtil ? timSort )(Ljava/util/List;Ljava/util/Comparator;)V ? ? ? ? "java/lang/IllegalArgumentException ? !Network interface pointer is null ? (Ljava/lang/String;)V ? ? ? ? getInetAddresses ? ? ? ? isLoopbackAddress ? * N ? java/net/Inet4Address ? java/net/Inet6Address ? addresses ipVersion getFirstAddress interfaceHasIPAddresses W(Ljava/net/NetworkInterface;Lorg/elasticsearch/common/network/NetworkUtils$StackType;)Z network interface not found ? <