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

后端 未结 6 1377
深忆病人
深忆病人 2021-02-04 03:06

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

java.net.SocketException: Address family not

6条回答
  •  盖世英雄少女心
    2021-02-04 03:49

    It may be a few things:

    • Anti-virus blocking the connection. If you have an anti-virus running on that computer, try disabling it for a test.
    • Java 7 trying to use IPv6 to connect: if you have Java 6 on the computers where it works and Java 7 where it fails, try disabling IPv6 in Java on the computer where it fails (instructions in this post)

提交回复
热议问题