I'm not entirely sure, but this could be caused by Java using IPv6 instead of IPv4. Try adding
-Djava.net.preferIPv4Stack=true
to the Java command line arguments (Settings -> Java/Minecraft -> Java Parameters in the ATLauncher).
Thank you that fixed the problem. Do you have any clue why it would be trying to use IPv6 instead of IPv4?