Established connection was aborted by the software in your host machine

Hi!

I was having the same problem, this problem came up when the windows mobile hotspot is active and at least one device is connected. For some reason that causes the java.io.ioexception.
Check out this issue on github https://github.com/gradle/gradle/issues/14094