Suddenly the installer stopped working, both forge and neoforge, I've tested it on almost all versions of java and it didn't solve my problem.]
Here is the log that appears after trying to open the file:
JVM info: Oracle Corporation - 21.0.2 - 21.0.2+13-LTS-58
java.net.preferIPv4Stack=true
Current Time: 27/02/2024 13:55:14
Host: maven.neoforged.net [172.67.165.187, 104.21.89.226]
Host: libraries.minecraft.net [13.107.246.33, 13.107.213.33]
Host: launchermeta.mojang.com [13.107.246.33, 13.107.213.33]
Host: piston-meta.mojang.com [13.107.246.33, 13.107.213.33]
java.net.UnknownHostException: Este host nᅢᆪo ᅢᄅ conhecido (authserver.mojang.com)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52)
at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211)
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828)
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1688)
at net.minecraftforge.installer.DownloadUtils.getIps(DownloadUtils.java:296)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:124)
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "net.minecraftforge.installer.DownloadUtils.getIps(String)" is null
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:124)
If anyone knows how to solve this please tell me.