Gradle Being Blocked by Network Firewall

Published by Gallehant on
Status
Resolved
Issue description

I'm an IT technician for a school system in North Carolina. We have a Windows 10 lab using mCreator and are having issues with Gradle not being able to access the internet. We've verified that it's our network firewall blocking it (used a hotspot and connection worked fine), so I was hoping you could provide a whitelist of IPs or URLs that I can give our networking team so we can get it unblocked. Local firewalls on the machines are disabled.

Thanks!

Issue comments

Unfortunately, the gradle and Minecraft Forge MDK subsystem is not under our control (we just use it for the compilation of mods so they can be actually used).

There are many libraries required to compile mods for Minecraft and they are downloaded from a list of many domains - dependency tree in Gradle. You might need to monitor the network and enable one by one until the setup works.

I am 100% certain that these should be whitelisted:

  • minecraftforge.net
  • minecraft.net

But there definitely are other repositories/domains too that need adding.

You might have luck by disabling a network firewall, installing MCreator and then enabling offline mode on all installations and then turning the firewall back on, or setting MCreator up from a mobile hotspot.

I have tracked network communication and the following domains are used:

  • jcenter.bintray.com
  • files.minecraftforge.net
  • github.com
  • modcoderpack.com
  • repo.maven.apache.org
  • libraries.minecraft.net
  • launcher.mojang.com
  • mcreator.net