I cant connect to any Minecraft servers

Solution 1:

First try to relaunch Minecraft. That would fix a timeout issue. If that doesn't work try to restart your router. That could reset any firewalls. If that also dosn't work try to uninstall and reinstall Minecraft. I've had a problem once where a firewall was randomly set up so try to call your Internet Service Provider and see if there are any fire walls up. If all of this fails try Mojang Support.

https://help.mojang.com/customer/portal/emails/new