Could not connect to the Gradle daemon. Ionic2 build error

solved it. Was an issue of gradle, being blocked by windows firewall.