Permalink
Browse files

[AS7-683] Have domain mode servers use java.net.preferIPv4Stack

  • Loading branch information...
bstansberry committed Apr 27, 2011
1 parent 17942c2 commit e86351f79fbc813569709eefbf17dbb4a609d3c9
Showing with 5 additions and 0 deletions.
  1. +5 −0 build/src/main/resources/domain/configuration/domain.xml
@@ -335,6 +335,11 @@
</socket-binding-group>
</socket-binding-groups>
+ <system-properties>
+ <!-- IPv4 is not required, but setting this helps avoid unintended use of IPv6 -->
+ <property name="java.net.preferIPv4Stack" value="true"/>
+ </system-properties>
+
<server-groups>
<server-group name="main-server-group" profile="default">
<socket-binding-group ref="standard-sockets"/>

0 comments on commit e86351f

Please sign in to comment.