I cannot connect to "https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml"

I have issues connecting if you can please help me i’ve spend so much time making the mod.

This is the full report:

Executing Gradle task: eclipse
Build info: MCreator 2021.3.53117, forge-1.16.5, 64-bit, 8123 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘Sorcery’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve net.minecraftforge.gradle:ForgeGradle:5.1.+.
Required by:
project :
Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
Unable to load Maven meta-data from https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
Could not get resource ‘https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml’.
Could not GET ‘https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml’.
Connect to maven.minecraftforge.net:443 [maven.minecraftforge.net/51.79.83.165, maven.minecraftforge.net/2607:5300:203:65a5:0:0:0:0] failed: Connection refused: no further information

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org
    BUILD FAILED in 23s

BUILD FAILED
Task completed in 45 seconds