Or B Or B - 3 months ago 76
Java Question

Address family not supported by protocol family - SocketException on a specific computer

In an app which I have programmed, I have a java.net.SocketException on a specific computer:

java.net.SocketException: Address family not supported by protocol family: connect

This specific computer runs Windows 7 32 Bit and is connected to the internet through Local Area Connection (Ethernet).
The app runs correctly on other computers, with Windows 7 and Windows 8, connected through Local Area Connection or through Wi-Fi, so I am actually not sure that the problem is programmatic.
I have tried to check the protocols of the Local Area Connection, but I didn't see any problems.
Can someone please help me understand what is the problem? Why is this exception thrown?


Try to check whether the spy program called "RelevantKnowledge" is installed. Its uninstallation helped me to solve the problem.