Skip to content Skip to sidebar Skip to footer

Java.io.ioexception: Unable To Establish Loopback Connection

I get this java exception when i build android in CMD and i don't catch why and how to figure this out. The exception is: java.io.IOException: Unable to establish loopback connecti

Solution 1:

Put the options in the _JAVA_OPTIONS environment variable.

For example, on Linux, put the following in your ~/.profile or ~/.bash_profile:

export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true"

Windows:

set _JAVA_OPTIONS=-Djava.net.preferIPv4Stack=true

Post a Comment for "Java.io.ioexception: Unable To Establish Loopback Connection"