Quote fromDoes it say something like: Connection timed out? Have you updated to the latest Minecraft version? If you want people to help you, you will need to be a bit more descriptive. Tell me what the error message is to the exact word and I will be able to help you.
its working now i think it was because my firewall so i got rid of that so now it works