'Address Family Not Supported by Protocol Family; Connect' Error
- Question:
- I have experienced the following error: "Address Family Not Supported by Protocol Family; Connect". How do I solve it?
- Solution:
-
This seems to be an IPv6 connectivity problem. By default, the Java runtime used by Oxygen XML Editor prefers to create connections via IPv6, if the support is available. However, even though it is available in appearance, IPv6 sometimes happens to be configured incorrectly on some systems.
A quick fix for this problem is to set the
java.net.preferIPv4StackJava property totrue(java.net.preferIPv4Stack=true).In order to do this, follow this procedure:- Edit the custom_commons.vmoptions file that is located in the
Oxygen XML Editor installation folder, by adding the Java property
java.net.preferIPv4Stack=true, and save it in the same location. - Restart Oxygen XML Editor.
- Make sure the procedure was successful by going to and check that the value of the
java.net.preferIPv4Stackproperty istrue.
- Edit the custom_commons.vmoptions file that is located in the
Oxygen XML Editor installation folder, by adding the Java property