Minecraft – Can’t use the official unmodified Minecraft Launcher

minecraft-java-edition

Can not connect

I have tried anything that came into mind: Reset modem, add Minecraft to exception list etc.
Now this is the launcher that claims it doesnt need Java, is that true or not? because as far as I know the latest version of Java is on my PC.
I can play Minecraft Vanilla just fine with FTB and Technic but Voxelmap needs Liteloader and it claims that Minecraft Vanilla from Technic doesnt have a Launcher Profile so I had to resort to using the official one.

Best Answer

UnknownHostException gives the error:
The hostname authserver.mojang.com could not be resolved and thus your PC has no idea how to connect to that server, the DNS server you use simply has no IP for that server.
Try using a different DNS server like Google's Public DNS 8.8.8.8/8.8.4.4 and run nslookup authserver.mojang.com 8.8.8.8 from CMD to store it to your DNS cache.

The result will be something like:

Unauthorized answer:
Name:    authserver.mojang.com
Address:  54.192.13.199