Apr 132012
How to disable IPv6 support in a Java program
Answer:
To completely turn off IPv6 support in Java, you can set the system property "java.net.preferIPv4Stack", e.g.
# java -Djava.net.preferIPv4Stack=true ...
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to disable IPv6 support in a Java program
Answer:
To completely turn off IPv6 support in Java, you can set the system property "java.net.preferIPv4Stack", e.g.
# java -Djava.net.preferIPv4Stack=true ...