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

Or B picture Or B · May 4, 2013 · Viewed 73.6k times · Source

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?

Answer

bronixx picture bronixx · Jan 27, 2014

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