Skip to content

Commit

Permalink
Added -Djava.net.preferIPv4Stack=true
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Aug 30, 2024
1 parent b0083a6 commit ddd541f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jgroups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ -f $HOME/logging.properties ]; then
fi;

#JG_FLAGS="-Djgroups.bind_addr=match-address:192.168.1.*"
FLAGS="-server -Xmx1G -Xms500M"
FLAGS="-server -Xmx1G -Xms500M -Djava.net.preferIPv4Stack=true"
GC="-XX:+UseG1GC"

JMX="-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"
Expand Down

0 comments on commit ddd541f

Please sign in to comment.