I could play minecraft fine until today. I turned my computer(Desktop) on and there was a problem that prevented me to use it so I did a System Restore and that fixed the problem. So I logged in and started up the minecraft launcher On the screen it said "Play Offline" instead of "Play" so I logged out and tried to sign back in but it wouldnt let me, it gave me an error message that said "Sorry, but we couldn't connect to our servers.Please make sure that you are online and that Minecraft is not blocked.{NullPointerException: }" I gave the correct username and password but it still displays that message. I can put anything into the username and password box and it will give me the message. I can log in on my laptop just fine and I can log in on minecraft.net fine.
Ive tried
-Reinstalling minecraft(The .minecraft folder and the launcher itself)
Ive tried
-Reinstalling minecraft(The .minecraft folder and the launcher itself)
-Googled all the answers
-Turning my firewall off
Any suggestions or help is appreciated