This question already has an answer here:
I can't log into any Minecraft servers at all, not even locally hosted ones.
The error code I get is:
java.net.UnknownHostException: session.minecraft.net. A tweet from a worker at Mojang told people that you could just flush your DNS, which I did. That didn't quite work, so I'm wondering if there are any other solutions out there?
I'm not quite sure what other information I have to give. I know that it's not just something with me because I know a lot of my friends also get this error once they try to log into a server, so it would be weird if all of our ISPs just cut us off.