Unable to establish loopback connection

Hi all
I’m getting the following error when I execute the command >ionic build android
java.io.IOException: unable to establish loopback connection
the application is a new blank application created with the command > ionic start todo blank

im get it also.
i have noticed that the results of processing the command 'ionic platform add android’
there are some errors, but even them, the platform has added eventually.