In an app which I have programmed, I have a java.net.SocketException on a specific computer:
java.net.SocketException: Address family not
Thanks this helped me :
Anti-virus blocking the connection. If you have an anti-virus running on that computer, try disabling it for a test.
Open command prompt (windows start button, type cmd in search) Click top left of command prompt, click properties, enable quick edit mode Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true Right click on command prompt, should paste Hit enter. That easy!