diff --git a/startYACY.sh b/startYACY.sh index 0df3ccad4..4cf678967 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -6,7 +6,7 @@ PIDFILE="yacy.pid" OS="`uname`" #get javastart args -JAVA_ARGS="-server -XX:+UseAdaptiveSizePolicy"; +JAVA_ARGS="-server -XX:+UseAdaptiveSizePolicy -Djava.net.preferIPv4Stack=true"; #JAVA_ARGS="-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails $JAVA_ARGS"; #check if OS is Sun Solaris or one of the OpenSolaris distributions and use different version of id if necessary